From 80aafcc1fc6708b3aae0ec4e7daa8272e3741e7b Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Sat, 11 Feb 2006 21:15:12 +0000 Subject: [PATCH] * Do not close the backend connection, because the client sent a 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 | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/modules/proxy/mod_proxy_http.c b/modules/proxy/mod_proxy_http.c index 5a85bef73b..7a5b4a3870 100644 --- a/modules/proxy/mod_proxy_http.c +++ b/modules/proxy/mod_proxy_http.c @@ -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; -- 2.50.0