]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_proxy_wstunnel: abort backend connection on polling error to avoid
authorYann Ylavic <ylavic@apache.org>
Thu, 30 Oct 2014 23:56:27 +0000 (23:56 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 30 Oct 2014 23:56:27 +0000 (23:56 +0000)
further processing (lingering close, SSL shutdown).

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

CHANGES
modules/proxy/mod_proxy_wstunnel.c

diff --git a/CHANGES b/CHANGES
index 28e96e35c9680db53561b6a42304c2a0c5c5069c..35bb47bdf645209b66dfa5d29f195ed288cfc54d 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.0
  
+  *) mod_proxy_wstunnel: abort backend connection on polling error to avoid
+     further processing.  [Yann Ylavic]
+
   *) mod_buffer: Forward flushed input data immediatly and avoid (unlikely)
      access to freed memory. [Yann Ylavic, Christophe Jaillet]
 
index f32ae80e7a5bf8c2c3f6be8caa2ad309a3d594f9..5028be9deb8aef88a776fe581f171189141fc0ab 100644 (file)
@@ -90,6 +90,7 @@ static int proxy_wstunnel_pump(ws_baton_t *baton, apr_time_t timeout, int try_as
                 }
                 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");
                 }