summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2024-11-26 14:01:08 +0100
committerRuediger Pluem <rpluem@apache.org>2024-11-26 14:01:08 +0100
commit584286f25da37a722c4ffc9888cd0f455a356ff4 (patch)
treef0c09937668cd14bf6046ad13cfa29b2b22065ed /modules
parentMake sure the Additional error is displayed. (diff)
downloadapache2-584286f25da37a722c4ffc9888cd0f455a356ff4.tar.xz
apache2-584286f25da37a722c4ffc9888cd0f455a356ff4.zip
* Use iobuffersize set on worker level for the IO buffer size.
PR: 69402 Submitted by: Jari Ahonen <jah@progress.com> Reviewed by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1922115 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r--modules/proxy/mod_proxy_ajp.c3
1 files changed, 3 insertions, 0 deletions
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)