You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jf...@apache.org on 2005/06/17 18:47:45 UTC
svn commit: r191175 - /httpd/httpd/trunk/server/protocol.c
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");
}
}