httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r230738 - /httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c
Date Mon, 08 Aug 2005 03:10:13 GMT
Author: wrowe
Date: Sun Aug  7 20:10:10 2005
New Revision: 230738

URL: http://svn.apache.org/viewcvs?rev=230738&view=rev
Log:

  Sync to trunk/, add an extra measure of paranoia to the cl + te case.

Modified:
    httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c

Modified: httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c?rev=230738&r1=230737&r2=230738&view=diff
==============================================================================
--- httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c (original)
+++ httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c Sun Aug  7 20:10:10
2005
@@ -1048,6 +1048,8 @@
                      "proxy: client %s (%s) requested Transfer-Encoding body"
                      " with Content-Length (C-L ignored)",
                      c->remote_ip, c->remote_host ? c->remote_host: "");
+        apr_table_unset(r->headers_in, "Content-Length");
+        old_cl_val = NULL;
         origin->keepalive = AP_CONN_CLOSE;
         p_conn->close++;
     }



Mime
View raw message