diff options
author | Ruediger Pluem <rpluem@apache.org> | 2024-11-26 14:01:08 +0100 |
---|---|---|
committer | Ruediger Pluem <rpluem@apache.org> | 2024-11-26 14:01:08 +0100 |
commit | 584286f25da37a722c4ffc9888cd0f455a356ff4 (patch) | |
tree | f0c09937668cd14bf6046ad13cfa29b2b22065ed | |
parent | Make sure the Additional error is displayed. (diff) | |
download | apache2-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
-rw-r--r-- | changes-entries/pr69402.txt | 2 | ||||
-rw-r--r-- | modules/proxy/mod_proxy_ajp.c | 3 |
2 files changed, 5 insertions, 0 deletions
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 <jah@progress.com>] 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) |