Bug 57138

Summary: OutputBuffer.setBufferSize() doesn't change the CharChunk limit
Product: Tomcat 7 Reporter: tobias.steffenhagen
Component: ConnectorsAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 7.0.40   
Target Milestone: ---   
Hardware: All   
OS: Linux   

Description tobias.steffenhagen 2014-10-24 14:50:49 UTC
The value of 'javax.faces.FACELETS_BUFFER_SIZE' is dispatched to the OutputBuffer, however only the limit for the ByteChunk will be set, but not for the CharChunk.

As for text/html encoding, characters will be written. This causes the response to be committed already after 8K of content.

Also this limit seems to be fixed, at least it cannot be changed via configuration. When looking at org.apache.catalina.connector.Response.setConnector(), there is no way to set a different buffer size for the CharChunk.
Comment 1 Mark Thomas 2014-10-24 20:15:05 UTC

*** This bug has been marked as a duplicate of bug 55842 ***