[PATCH 1 of 4] Removed "aio sendfile", deprecated since 1.7.11
Maxim Dounin
mdounin at mdounin.ru
Thu Nov 11 04:21:09 UTC 2021
# HG changeset patch
# User Maxim Dounin <mdounin at mdounin.ru>
# Date 1636600255 -10800
# Thu Nov 11 06:10:55 2021 +0300
# Node ID 0fb75ef9dbca698e5e855145cf6a12180a36d400
# Parent 82b750b20c5205d685e59031247fe898f011394e
Removed "aio sendfile", deprecated since 1.7.11.
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
--- 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, 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