]> granicus.if.org Git - apache/commitdiff
Merge r1635644 from trunk:
authorJim Jagielski <jim@apache.org>
Tue, 2 Dec 2014 12:47:58 +0000 (12:47 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 2 Dec 2014 12:47:58 +0000 (12:47 +0000)
mod_proxy_wstunnel: abort backend connection on polling error to avoid
further processing (lingering close, SSL shutdown).

Submitted by: ylavic
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1642856 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
modules/proxy/mod_proxy_wstunnel.c

diff --git a/CHANGES b/CHANGES
index 0c7b2a03e6fbe306d88131ea41ef5b7103f453bc..884947fc050e29af9fcf109424db63cf05379c05 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -23,6 +23,9 @@ Changes with Apache 2.4.11
   *) mod_ssl: Fix a memory leak in case of graceful restarts with OpenSSL >= 0.9.8e
      PR 53435 [tadanori <tadanori2007 yahoo.com>, Sebastian Wiedenroth <wiedi frubar.net>]
 
+  *) mod_proxy_wstunnel: abort backend connection on polling error to avoid
+     further processing.  [Yann Ylavic]
+
   *) core: Support custom ErrorDocuments for HTTP 501 and 414 status codes.
      PR 57167 [Edward Lu <Chaosed0 gmail.com>]
 
diff --git a/STATUS b/STATUS
index accba2050fd6fdfaac8861fc8351695598ac597e..b96bb8980db90f0245aa6665bc09aef650eaaf98 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -131,12 +131,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
      2.4.x patches: trunk works (modulo CHANGES).
      +1: ylavic, covener, jim
 
-   * mod_proxy_wstunnel: abort backend connection on polling error to avoid
-     further processing (lingering close, SSL shutdown).
-     trunk patch: http://svn.apache.org/r1635644
-     2.4.x patch: http://people.apache.org/~ylavic/httpd-2.4.x-mod_proxy_wstunnel-aborted.patch
-     +1: ylavic, covener, jim
-
 
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
index 5fb8eb66e8e6204a1ca8db12017e2ed217a36a9f..1eb6ac89ef05398e216a18d118c66dfbe091045a 100644 (file)
@@ -248,6 +248,7 @@ static int proxy_wstunnel_request(apr_pool_t *p, request_rec *r,
                 }
                 else if (pollevent & APR_POLLERR) {
                     rv = APR_EPIPE;
+                    backconn->aborted = 1;
                     ap_log_rerror(APLOG_MARK, APLOG_NOTICE, 0, r, APLOGNO(02447)
                             "error on backconn");
                 }