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 --- modules/proxy/mod_proxy_ajp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules') 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