[nginx] Removed "aio sendfile", deprecated since 1.7.11.
Maxim Dounin
mdounin at mdounin.ru
Mon Dec 27 18:48:30 UTC 2021
details: https://hg.nginx.org/nginx/rev/ae992b5a27b2
branches:
changeset: 7984:ae992b5a27b2
user: Maxim Dounin <mdounin at mdounin.ru>
date: Mon Dec 27 19:47:05 2021 +0300
description:
Removed "aio sendfile", deprecated since 1.7.11.
diffstat:
src/http/ngx_http_core_module.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
diffs (23 lines):
diff -r d07456044b61 -r ae992b5a27b2 src/http/ngx_http_core_module.c
--- 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 @@ ngx_http_core_set_aio(ngx_conf_t *cf, ng
#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] == '='))
{
More information about the nginx-devel
mailing list