httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject svn commit: r191175 - /httpd/httpd/trunk/server/protocol.c
Date Fri, 17 Jun 2005 16:47:45 GMT
Author: jfclere
Date: Fri Jun 17 09:47:43 2005
New Revision: 191175

URL: http://svn.apache.org/viewcvs?rev=191175&view=rev
Log:
if Transfer-Encoding is not "identity" ignore Content-Length.
otherwise ajp-proxy hangs when Transfer-Encoding is "chunked".

Modified:
    httpd/httpd/trunk/server/protocol.c

Modified: httpd/httpd/trunk/server/protocol.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/protocol.c?rev=191175&r1=191174&r2=191175&view=diff
==============================================================================
--- httpd/httpd/trunk/server/protocol.c (original)
+++ httpd/httpd/trunk/server/protocol.c Fri Jun 17 09:47:43 2005
@@ -906,7 +906,7 @@
              * 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");
             }
         }



Mime
View raw message