Details
Description
A UTF-8 character is output twice under particular conditions.
The attached is the simplest one to reproduce the problem.
Sample program output "B"(multibyte "B") only once, but response include two
I have tested this on Jetty 6.1.3 and 6.1.21 and 7.0.0rc6 .
Different versions depending on the conditions to reproduce the problem.
6.1.3 : "bufsize" in web.xml is 128
6.1.21 : "bufsize" in web.xml is 512
7.0.0.rc6 : "bufsize" in web.xml is 512
This size equal org.mortbay.jetty.AbstractGenerator.MAX_OUTPUT_CHARS.
sample application url
http://localhost:8080/jettybugsample/filter/hoge