httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1442320 - in /httpd/httpd/trunk: CHANGES modules/proxy/mod_proxy_connect.c
Date Mon, 04 Feb 2013 19:56:39 GMT
Author: sf
Date: Mon Feb  4 19:56:39 2013
New Revision: 1442320

URL: http://svn.apache.org/viewvc?rev=1442320&view=rev
Log:
Don't keepalive the connection to the client if the
backend closes the connection.

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

Modified:
    httpd/httpd/trunk/CHANGES
    httpd/httpd/trunk/modules/proxy/mod_proxy_connect.c

Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=1442320&r1=1442319&r2=1442320&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Mon Feb  4 19:56:39 2013
@@ -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]
 

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_connect.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_connect.c?rev=1442320&r1=1442319&r2=1442320&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_connect.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_connect.c Mon Feb  4 19:56:39 2013
@@ -487,6 +487,7 @@ static int proxy_connect_handler(request
         ap_lingering_close(backconn);
 
     c->aborted = 1;
+    c->keepalive = AP_CONN_CLOSE;
 
     return OK;
 }



Mime
View raw message