https://issues.apache.org/bugzilla/show_bug.cgi?id=46770
Summary: Headers are send duplicate Product: Tomcat 5 Version: 5.5.27 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Connector:AJP AssignedTo: dev@tomcat.apache.org ReportedBy: rainer.j...@kippdata.de This is a regression between 5.5.25 (OK) and 5.5.26 (broken). The same problem exists in 5.5.27 and in 5.5 trunk as of today. It does not exist in 6.0.18. I will attach a test case DoubleResponse.war. After deploying it, cou can simply call /DoubleResponse/. The code is contained in the war. It is simple and basically does: response.setContentLength(0); response.getOutputStream().print(""); response.flushBuffer(); This leads to sending the request headers twice when used with the AJP connector (tested without APR). With HTTP it works. You can observe the double sending by either sniffing between web server and Tomcat, or setting JkLogLevel to debug. Since mod_jk 1.2.27 we do no longer allow duplicate header sending. I increased the log level of some connector packages. One can see a duplicate COMMIT block in the attached log lines. To make the analysis easier I added output of the method stack for some of those lines. Both logs are attached. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org