https://issues.apache.org/bugzilla/show_bug.cgi?id=44574
Summary: Wrong behavior of the ProxyIOBufferSize directive
Product: Apache httpd-2
Version: 2.2.8
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Hello,
I've found something strange in the mod_proxy (httpd 2.0.63 and 2.2.8) setup:
The following directive says:
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxyiobuffersize
The |ProxyIOBufferSize| directive adjusts the size of the internal buffer,
which is used as a scratchpad for the data between input and output. The size
must be less or equal |8192|.
LESS or EQUAL 8192...
And the code in mod_proxy.c is:
long s = atol(arg);
psf->io_buffer_size = ((s > AP_IOBUFSIZE) ? s : AP_IOBUFSIZE);
psf->io_buffer_size_set = 1;
should be
psf->io_buffer_size = ((s < AP_IOBUFSIZE) ? s : AP_IOBUFSIZE);
It's the same in 2.2.x:
else if (!strcasecmp(key, "iobuffersize")) {
long s = atol(val);
worker->io_buffer_size = ((s > AP_IOBUFSIZE) ? s : AP_IOBUFSIZE);
worker->io_buffer_size_set = 1;
}
I actually need this directive to work better with some stream data. Can
somebody confirm the modification must be done in the code and not in the
documentation ?
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]