httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44574] Wrong behavior of the ProxyIOBufferSize directive
Date Fri, 21 Mar 2008 04:32:46 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44574





--- Comment #5 from Takashi Sato <serai@lans-tv.com>  2008-03-20 21:32:45 PST ---
io_buffer_size is used by mod_proxy_ajp, mod_proxy_http and mod_proxy_ftp.

mod_proxy_http and mod_proxy_ftp just uses io_buffer_size directly.
mod_proxy_http.c line 1637:

rv = ap_get_brigade(rp->input_filters, bb,
    AP_MODE_READBYTES, mode,
    conf->io_buffer_size);


Unlike them, mod_proxy_ajp has own limits.
mod_proxy_ajp.c line 171:

apr_size_t maxsize = AJP_MSG_BUFFER_SZ;

if (psf->io_buffer_size_set)
   maxsize = psf->io_buffer_size;
if (maxsize > AJP_MAX_BUFFER_SZ)
   maxsize = AJP_MAX_BUFFER_SZ;
else if (maxsize < AJP_MSG_BUFFER_SZ)
   maxsize = AJP_MSG_BUFFER_SZ;
maxsize = APR_ALIGN(maxsize, 1024);

ajp.h line 134:

#define AJP_MSG_BUFFER_SZ           8192
#define AJP_MAX_BUFFER_SZ           65536


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message