Skip to content

Commit

Permalink
* Use iobuffersize set on worker level for the IO buffer size.
Browse files Browse the repository at this point in the history
PR: 69402
Submitted by: Jari Ahonen <[email protected]>
Reviewed by: rpluem


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1922115 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
rpluem committed Nov 26, 2024
1 parent de52fc4 commit 584286f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changes-entries/pr69402.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*) mod_proxy_ajp: Use iobuffersize set on worker level for the IO buffer
size. PR 69402 [Jari Ahonen <[email protected]>]
3 changes: 3 additions & 0 deletions modules/proxy/mod_proxy_ajp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 584286f

Please sign in to comment.