aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2015-03-12 20:06:04 +0300
committerRuslan Ermilov <ru@nginx.com>2015-03-12 20:06:04 +0300
commit067de7dde1fe60c70f7094bf79466692bf1d6887 (patch)
tree3cf010a0c71a4194d90152517d3970792a635981 /src/http/ngx_http_core_module.c
parent5e5540f7dccec44b0be89eabe245befb509032fc (diff)
downloadnginx-067de7dde1fe60c70f7094bf79466692bf1d6887.tar.gz
nginx-067de7dde1fe60c70f7094bf79466692bf1d6887.zip
Deprecated "aio sendfile".
Specifying "sendfile on" along with "aio on" activates the aio pre-loading mode for sendfile().
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 0542b2871..bb2c1df52 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -120,7 +120,7 @@ static ngx_conf_enum_t ngx_http_core_aio[] = {
{ ngx_string("off"), NGX_HTTP_AIO_OFF },
{ ngx_string("on"), NGX_HTTP_AIO_ON },
#if (NGX_HAVE_AIO_SENDFILE)
- { ngx_string("sendfile"), NGX_HTTP_AIO_SENDFILE },
+ { ngx_string("sendfile"), NGX_HTTP_AIO_ON },
#endif
{ ngx_null_string, 0 }
};