https://bz.apache.org/bugzilla/show_bug.cgi?id=68970
Bug ID: 68970 Summary: mod_deflate no longer properly handles chunked responses from CGI scripts Product: Apache httpd-2 Version: 2.4.59 Hardware: Other OS: Linux Status: NEW Severity: regression Priority: P2 Component: mod_deflate Assignee: bugs@httpd.apache.org Reporter: allan.sch...@oracle.com Target Milestone: --- Created attachment 39691 --> https://bz.apache.org/bugzilla/attachment.cgi?id=39691&action=edit Raw chunked output from our CGI process Our CGI process handles SOAP requests. Based on the requests a multi-part MTOM response using Transfer-encoding: chunked is generated and sent back to Apache via stdout. On 2.4.58 the response is properly understood, de-chunked, compressed and re-chunked so that the client receives a proper response. The result is proper multi-part MTOM data of an XML document. On 2.4.59 the response is not understood and not de-chunked. Rather the whole chunked response from the CGI process is treated as binary data, compressed, re-chunked so that the client receives the raw output of the CGI process. As the resulting output is that raw, chunked output from the CGI process the client sees unrecognizable garbage rather than an XML response. On 2.4.59 if we disable mod_deflate then the result is returned to the client as expected: an MTOM response with an XML document. Enclosed are the following files to assist with this issue. xmlout21642.xml contains the raw, chunked output of our CGI process (without any headers). I've also included three trace files collected using curl --trace for the three test cases mentioned. You can see in those outputs the failure. The test files contain passwords that are harmless as these are internal test systems not accessible externally. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org