From: William A. Rowe Jr Date: Mon, 8 Aug 2005 03:10:10 +0000 (+0000) Subject: Sync to trunk/, add an extra measure of paranoia to the cl + te case. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ae8bc0438b48b7f47ed6a2114036bb22c52592ad;p=thirdparty%2Fapache%2Fhttpd.git Sync to trunk/, add an extra measure of paranoia to the cl + te case. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody-2.0.x@230738 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_http.c b/modules/proxy/proxy_http.c index 8f2a5e4ea6c..3f02e479a46 100644 --- a/modules/proxy/proxy_http.c +++ b/modules/proxy/proxy_http.c @@ -1048,6 +1048,8 @@ apr_status_t ap_proxy_http_request(apr_pool_t *p, request_rec *r, "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++; }