Mercurial > hg > nginx-quic
comparison 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 |
comparison
equal
deleted
inserted
replaced
6003:cf2f8d91cf09 | 6004:2dac6ae6d703 |
---|---|
118 | 118 |
119 static ngx_conf_enum_t ngx_http_core_aio[] = { | 119 static ngx_conf_enum_t ngx_http_core_aio[] = { |
120 { ngx_string("off"), NGX_HTTP_AIO_OFF }, | 120 { ngx_string("off"), NGX_HTTP_AIO_OFF }, |
121 { ngx_string("on"), NGX_HTTP_AIO_ON }, | 121 { ngx_string("on"), NGX_HTTP_AIO_ON }, |
122 #if (NGX_HAVE_AIO_SENDFILE) | 122 #if (NGX_HAVE_AIO_SENDFILE) |
123 { ngx_string("sendfile"), NGX_HTTP_AIO_SENDFILE }, | 123 { ngx_string("sendfile"), NGX_HTTP_AIO_ON }, |
124 #endif | 124 #endif |
125 { ngx_null_string, 0 } | 125 { ngx_null_string, 0 } |
126 }; | 126 }; |
127 | 127 |
128 #endif | 128 #endif |