From 584286f25da37a722c4ffc9888cd0f455a356ff4 Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Tue, 26 Nov 2024 13:01:08 +0000 Subject: * Use iobuffersize set on worker level for the IO buffer size. PR: 69402 Submitted by: Jari Ahonen Reviewed by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1922115 13f79535-47bb-0310-9956-ffa450edef68 --- changes-entries/pr69402.txt | 2 ++ modules/proxy/mod_proxy_ajp.c | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 changes-entries/pr69402.txt diff --git a/changes-entries/pr69402.txt b/changes-entries/pr69402.txt new file mode 100644 index 0000000000..18a7dc7c0f --- /dev/null +++ b/changes-entries/pr69402.txt @@ -0,0 +1,2 @@ + *) mod_proxy_ajp: Use iobuffersize set on worker level for the IO buffer + size. PR 69402 [Jari Ahonen ] diff --git a/modules/proxy/mod_proxy_ajp.c b/modules/proxy/mod_proxy_ajp.c index c27385cf55..9c6573b59a 100644 --- a/modules/proxy/mod_proxy_ajp.c +++ b/modules/proxy/mod_proxy_ajp.c @@ -218,6 +218,9 @@ static int ap_proxy_ajp_request(apr_pool_t *p, request_rec *r, if (psf->io_buffer_size_set) maxsize = psf->io_buffer_size; + /* Override with worker setting if present */ + if (conn->worker->s->io_buffer_size_set) + maxsize = conn->worker->s->io_buffer_size; if (maxsize > AJP_MAX_BUFFER_SZ) maxsize = AJP_MAX_BUFFER_SZ; else if (maxsize < AJP_MSG_BUFFER_SZ) -- cgit v1.2.3