Mercurial > hg > nginx-quic
diff src/http/ngx_http_core_module.c @ 6004:2dac6ae6d703
Deprecated "aio sendfile".
Specifying "sendfile on" along with "aio on" activates the
aio pre-loading mode for sendfile().
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 12 Mar 2015 20:06:04 +0300 |
parents | ebdb2023e84a |
children | 942283a53c28 |
line wrap: on
line diff
--- 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_ai { 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 } };