Welcome! Log In Create A New Profile

Advanced

[nginx] Removed "aio sendfile", deprecated since 1.7.11.

Maxim Dounin
December 27, 2021 01:50PM
details: https://hg.nginx.org/nginx/rev/ae992b5a27b2
branches:
changeset: 7984:ae992b5a27b2
user: Maxim Dounin <mdounin@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] == '='))
{
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Removed "aio sendfile", deprecated since 1.7.11.

Maxim Dounin 334 December 27, 2021 01:50PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 81
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready