Mercurial > hg > nginx
changeset 7984:ae992b5a27b2
Removed "aio sendfile", deprecated since 1.7.11.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 27 Dec 2021 19:47:05 +0300 |
parents | d07456044b61 |
children | ec2e6893caaa |
files | src/http/ngx_http_core_module.c |
diffstat | 1 files changed, 0 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c Sat Dec 25 01:07:18 2021 +0300 +++ b/src/http/ngx_http_core_module.c Mon Dec 27 19:47:05 2021 +0300 @@ -4568,19 +4568,6 @@ #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] == '=')) {