]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Do not close the backend connection, because the client sent a
authorRuediger Pluem <rpluem@apache.org>
Sat, 11 Feb 2006 21:15:12 +0000 (21:15 +0000)
committerRuediger Pluem <rpluem@apache.org>
Sat, 11 Feb 2006 21:15:12 +0000 (21:15 +0000)
  Connection: close header.

PR: 38524

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@377057 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_http.c

index 5a85bef73bc128887ba75d70682e89ce898cb47f..7a5b4a38702285aed6ba668f5ec1ab43fe5f72f2 100644 (file)
@@ -603,17 +603,6 @@ apr_status_t ap_proxy_http_request(apr_pool_t *p, request_rec *r,
      * Send the HTTP/1.1 request to the remote server
      */
 
-    /* strip connection listed hop-by-hop headers from the request */
-    /* even though in theory a connection: close coming from the client
-     * should not affect the connection to the server, it's unlikely
-     * that subsequent client requests will hit this thread/process,
-     * so we cancel server keepalive if the client does.
-     */
-    if (ap_proxy_liststr(apr_table_get(r->headers_in,
-                         "Connection"), "close")) {
-        p_conn->close++;
-    }
-
     if (apr_table_get(r->subprocess_env, "force-proxy-request-1.0")) {
         buf = apr_pstrcat(p, r->method, " ", url, " HTTP/1.0" CRLF, NULL);
         force10 = 1;