https://bz.apache.org/bugzilla/show_bug.cgi?id=69709

            Bug ID: 69709
           Summary: Chunk with ajp13 broken
           Product: Apache httpd-2
           Version: 2.4.63
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
          Assignee: bugs@httpd.apache.org
          Reporter: glenn.g...@helmedica.com
  Target Milestone: ---

Created attachment 40045
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=40045&action=edit
Screenshot filemerge ajp_header

Apache no longer interprets the “Content-Length” and “Transfer-Encoding”
headers by default, as the “ap_trust_cgilike_cl” environment has been
introduced since 2.4.59.
If the container chunks the response, Apache interprets the response as not
chunked, as the Transfer-Encoding header is ignored.
The header transfer encoding should never be removed from the proxy, otherwise
the parsing will fail.

You can see the change in the appendix. It seems strange to me that the
transfer encoding is not in the if. But removing the transfer encoding in the
if statement is also wrong.

the line 680 in ajp_header.c should be deleted

apr_table_unset(r->headers_out, "Transfer-Encoding");

-- 
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

Reply via email to