Commit e7755419 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  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
parent a49b5faa
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -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"
                     "proxy: client %s (%s) requested Transfer-Encoding body"
                     " with Content-Length (C-L ignored)",
                     " with Content-Length (C-L ignored)",
                     c->remote_ip, c->remote_host ? c->remote_host: "");
                     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;
        origin->keepalive = AP_CONN_CLOSE;
        p_conn->close++;
        p_conn->close++;
    }
    }