diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2021-12-27 19:47:05 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2021-12-27 19:47:05 +0300 |
commit | f0a5ce136d8c0492123b16436467d367ed484d28 (patch) | |
tree | 19ca55535e87de3ba76ab7707f7cc4d4a52a0a4d | |
parent | d5f1f169bc71d32b96960266d54e189c69af00ba (diff) | |
download | nginx-f0a5ce136d8c0492123b16436467d367ed484d28.tar.gz |
Removed "aio sendfile", deprecated since 1.7.11.
-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 fe1da4576..c7463dcdc 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -4568,19 +4568,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] == '=')) { |