You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2005/08/08 05:10:13 UTC
svn commit: r230738 -
/httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c
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++;
}