Bug 57138 - OutputBuffer.setBufferSize() doesn't change the CharChunk limit
Summary: OutputBuffer.setBufferSize() doesn't change the CharChunk limit
Status: RESOLVED DUPLICATE of bug 55842
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Connectors (show other bugs)
Version: 7.0.40
Hardware: All Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-24 14:50 UTC by tobias.steffenhagen
Modified: 2014-10-24 20:15 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***