Configuring output aggregation size when configuring output buffer size.

This commit is contained in:
Simone Bordet 2014-12-22 21:29:02 +01:00
parent c944b06a61
commit fc42d5d4aa
1 changed files with 4 additions and 3 deletions

View File

@ -256,11 +256,12 @@ public class HttpConfiguration
* before being sent to the client. A larger buffer can improve performance by allowing
* a content producer to run without blocking, however larger buffers consume more memory and
* may induce some latency before a client starts processing the content.
* @param responseBufferSize buffer size in bytes.
* @param outputBufferSize buffer size in bytes.
*/
public void setOutputBufferSize(int responseBufferSize)
public void setOutputBufferSize(int outputBufferSize)
{
_outputBufferSize = responseBufferSize;
_outputBufferSize = outputBufferSize;
setOutputAggregationSize(outputBufferSize / 4);
}
/* ------------------------------------------------------------ */