Commit 394cc4aa authored by Jean-Frederic Clere's avatar Jean-Frederic Clere
Browse files

if Transfer-Encoding is not "identity" ignore Content-Length.

otherwise ajp-proxy hangs when Transfer-Encoding is "chunked".


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@191175 13f79535-47bb-0310-9956-ffa450edef68
parent 3b86e353
Loading
Loading
Loading
Loading
+1 −1
Changes for server/protocol.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -906,7 +906,7 @@ request_rec *ap_read_request(conn_rec *conn)
             * the RFC says we MUST ignore the C-L header.  We kill it here
             * to prevent more work later on in modules like mod_proxy.
             */
            if (te && !strcasecmp("identity", te)) {
            if (te && strcasecmp("identity", te) != 0) {
                apr_table_unset(r->headers_in, "Content-Length");
            }
        }