All of the issues I was seeing with mark/reset were due to states that resulted in...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 7 Apr 2008 22:47:54 +0000 (22:47 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 7 Apr 2008 22:47:54 +0000 (22:47 +0000)
commit05e66768504cdc004ff85cfbd1176ab949d8c407
tree7e399e9544954e66b118255089b6419c7d796d58
parent4d4010623a42631c2decf5c564fc8ce673b165c3
All of the issues I was seeing with mark/reset were due to states that resulted in a call to CharChunk.flushBuffer().
I tried many different ways to fix it but by far the simplest was this patch that just increases the size of the CharChunk internal buffer when creating the mark sufficiently that flushBuffer() is never called.
With this patch I can't break mark/reset with bug 44494's test case in single or multibyte mode.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@645722 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/connector/InputBuffer.java