DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32038>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32038 HTTP headers too large for buffer Summary: HTTP headers too large for buffer Product: Tomcat 5 Version: 5.0.29 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Connector:Coyote AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Our application fails with an ArrayIndexOutOfBoundsException at InternalOutputBuffer.java:688 (see stacktrace below). The problem is a buffer that is too small (4KB - Http11Protocol.java:223) to hold all HTTP response headers. The problem didn't exist in Tomcat 4.0.6. It would be perfect if the buffer was allocated dynamically. --- java.lang.ArrayIndexOutOfBoundsException: 4096 at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:688) at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:616) at org.apache.coyote.http11.InternalOutputBuffer.sendHeader(InternalOutputBuffer.java:496) at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1537) at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:892) at org.apache.coyote.Response.action(Response.java:180) at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:562) at org.apache.coyote.Response.doWrite(Response.java:542) at org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.java:368) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:294) at org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.java:230) ... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]