https://bz.apache.org/bugzilla/show_bug.cgi?id=69402
Bug ID: 69402
Summary: mod_proxy_ajp ignores iobuffersize set in worker
configuration
Product: Apache httpd-2
Version: 2.4.62
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy_ajp
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
According to documentation the iobuffersize parameter can be used to override
ProxyIOBufferSize for a specific worker but mod_proxy_ajp ignores this setting
and only uses what is set with ProxyIOBufferSize.
With AJP it is important that both ends of the connection have the same buffer
size to avoid errors and not all servers need this to be changed from default
so it is desirable to be able to set this on individual workers.
This patch against 2.4.62 code makes the parameter work as intended.
--- mod_proxy_ajp.c.orig 2023-11-18 06:08:42.000000000 -0500
+++ mod_proxy_ajp.c 2024-10-17 08:25:17.463355357 -0400
@@ -218,6 +218,9 @@
if (psf->io_buffer_size_set)
maxsize = psf->io_buffer_size;
+ // Pick up buffer size set on individual worker
+ 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)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]