diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2021-12-29 15:17:26 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2021-12-29 15:17:26 +0300 |
commit | f3363a8dbe29b3159881e259b2690c78757c946f (patch) | |
tree | dfc3e7dd6803c65a8b2a94c941fe258d05f6c756 /src/http/ngx_http_core_module.c | |
parent | fa21bf0cc7ba2d94f66a061d644163547d79e6a2 (diff) | |
parent | 054944feb352ce16c5ef99e3fb58b8fd5796c0f1 (diff) | |
download | nginx-f3363a8dbe29b3159881e259b2690c78757c946f.tar.gz nginx-f3363a8dbe29b3159881e259b2690c78757c946f.zip |
Merged with the default branch.
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r-- | src/http/ngx_http_core_module.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 12f7bfb27..72e67544c 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -4588,19 +4588,6 @@ ngx_http_core_set_aio(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) #endif } -#if (NGX_HAVE_AIO_SENDFILE) - - if (ngx_strcmp(value[1].data, "sendfile") == 0) { - clcf->aio = NGX_HTTP_AIO_ON; - - ngx_conf_log_error(NGX_LOG_WARN, cf, 0, - "the \"sendfile\" parameter of " - "the \"aio\" directive is deprecated"); - return NGX_CONF_OK; - } - -#endif - if (ngx_strncmp(value[1].data, "threads", 7) == 0 && (value[1].len == 7 || value[1].data[7] == '=')) { |