httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r377057 - /httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
Date Sat, 11 Feb 2006 21:15:15 GMT
Author: rpluem
Date: Sat Feb 11 13:15:12 2006
New Revision: 377057

URL: http://svn.apache.org/viewcvs?rev=377057&view=rev
Log:
* Do not close the backend connection, because the client sent a
  Connection: close header.

PR: 38524

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_http.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/mod_proxy_http.c?rev=377057&r1=377056&r2=377057&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_http.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_http.c Sat Feb 11 13:15:12 2006
@@ -603,17 +603,6 @@
      * 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;



Mime
View raw message