httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43220] - mod_proxy truncating ajp output
Date Tue, 30 Oct 2007 18:06:24 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=43220>.
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=43220





------- Additional Comments From apsmith@aps.org  2007-10-30 11:06 -------
Some more testing on our systems:

* truncation happens reliably on any ajp response page longer than 1 MB, and
intermittently on responses in the 100 - 500 kB range (the longer the response,
the more likely to have a problem)
* problem is there for apache 2.2.6 server (latest download) as well.
* However, the problem is only there when the tomcat server is on a linux box.
Running the identical tomcat server on a Mac OS X box resulted in no ajp
truncation problems.
* We've tried this with apache-tomcat-5.5.20 and 5.5.25, same issue.
* on the apache side in debug mode we're seeing the following error messages
when it happens:
    [error] ajp_check_msg_header() got bad signature 3d22
    [error] ajp_ilink_receive() received bad header
    [error] ajp_read_header: ajp_ilink_receive failed
...

except the '3d22' may be some other random 4-hex number
* on the tomcat side we're seeing an IOException (5.5.25):
    at org.apache.coyote.ajp.AjpAprProcessor.flush(AjpAprProcessor.java:1199)
    at
org.apache.coyote.ajp.AjpAprProcessor$SocketOutputBuffer.doWrite(AjpAprProcessor.java:1284)
    at org.apache.coyote.Response.doWrite(Response.java:560)
    at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:361)
    at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:352)
...

though presumably tomcat is seeing the IO error because apache has closed the
connection?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message