You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2006/02/11 22:15:15 UTC
svn commit: r377057 - /httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
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;