From a4ee31a6b77c84f046d1f00948e26643a5f5fe77 Mon Sep 17 00:00:00 2001 From: zll600 <3400692417@qq.com> Date: Mon, 29 Jan 2024 16:58:51 +0800 Subject: [PATCH] fix: fake_u->output.aio_preload --- README.md | 2 +- ngx_http_multi_upstream_module.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index fffc2af..0d48993 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -This project is exacted from [tengine](https://github.com/alibaba/tengine/tree/master/modules/ngx_multi_upstream_module) since tengine-2.3.2. +This project is exacted from [tengine](https://github.com/alibaba/tengine/tree/master/modules/ngx_multi_upstream_module) since tengine-2.4.0. # ngx_multi_upstream_module ngx_multi_upstream_module for nginx diff --git a/ngx_http_multi_upstream_module.c b/ngx_http_multi_upstream_module.c index e6940df..a894b81 100644 --- a/ngx_http_multi_upstream_module.c +++ b/ngx_http_multi_upstream_module.c @@ -452,9 +452,6 @@ ngx_http_multi_upstream_init_connection(ngx_connection_t *c, fake_u->peer.connection = c; #if (NGX_HAVE_FILE_AIO || NGX_COMPAT) fake_u->output.aio_handler = u->output.aio_handler; -#if (NGX_HAVE_AIO_SENDFILE || NGX_COMPAT) - fake_u->output.aio_preload = u->output.aio_preload; -#endif #endif #if (NGX_THREADS || NGX_COMPAT)