]> granicus.if.org Git - apache/commitdiff
Don't keepalive the connection to the client if the
authorStefan Fritsch <sf@apache.org>
Mon, 4 Feb 2013 19:56:39 +0000 (19:56 +0000)
committerStefan Fritsch <sf@apache.org>
Mon, 4 Feb 2013 19:56:39 +0000 (19:56 +0000)
backend closes the connection.

PR: 54474
Submitted by: Pavel Mateja <pavel netsafe cz>

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

CHANGES
modules/proxy/mod_proxy_connect.c

diff --git a/CHANGES b/CHANGES
index f1375a7d0b339d19f43a8e3d12c18e5e8efd7eaa..b7c0cbc7b9cdd0569ad7ad5eae72eafe86fafd26 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.0
 
+  *) mod_proxy_connect: Don't keepalive the connection to the client if the
+     backend closes the connection. PR 54474. [Pavel Mateja <pavel netsafe cz>]
+
   *) core: Add option to add valgrind suport. Use it to reduce false positive
      warnings in mod_ssl. [Stefan Fritsch]
 
index 0d008c68e65f0163188cfbf99829628503cab4e1..c84f75b417a3b2f214053cb88a291081e1ba2756 100644 (file)
@@ -487,6 +487,7 @@ static int proxy_connect_handler(request_rec *r, proxy_worker *worker,
         ap_lingering_close(backconn);
 
     c->aborted = 1;
+    c->keepalive = AP_CONN_CLOSE;
 
     return OK;
 }