httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <>
Subject ProxyIOBufferSize less than greater than
Date Wed, 15 Oct 2008 10:42:20 GMT
Hi all,

I was asked to clarify the case with the ProxyIOBufferSize, where the 
documentation and the code don't agree.

According to mod_proxy.c, the effective size of the buffer is the 
greater of AP_IOBUFSIZE or the user specified value:

psf->io_buffer_size = ((s > AP_IOBUFSIZE) ? s : AP_IOBUFSIZE);

In other words, the effective buffer size is greater than or equal to 8192.

According to the docs at, 
  the default value is "ProxyIOBufferSize 8192", which so far is correct.

The docs then say "The size must be less or equal 65536".

There doesn't seem to be anything clearly visible in the code that 
enforces this "less than or equal to 65536", but there is code in there 
that enforces "greater than or equal to 8192".

So which is correct, the server or the docs?


View raw message