tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32038] New: - HTTP headers too large for buffer
Date Wed, 03 Nov 2004 14:53:30 GMT
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: tomcat-dev@jakarta.apache.org
        ReportedBy: ndurner@persis.de


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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message