From: Eric Covener Date: Sun, 13 Apr 2014 16:57:34 +0000 (+0000) Subject: *) mod_proxy_wstunnel: Don't pool backend websockets connections, X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c3795fee530e0e40243f723d2750cdfed909045;p=thirdparty%2Fapache%2Fhttpd.git *) mod_proxy_wstunnel: Don't pool backend websockets connections, because we need to handshake every time. PR 55890. [Eric Covener] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1587036 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index b49d8313336..83ba0d121de 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,10 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.0 + *) mod_proxy_wstunnel: Don't pool backend websockets connections, + because we need to handshake every time. PR 55890. + [Eric Covener] + *) mod_proxy_http: Add detach_backend hook (potentially usable in other proxy scheme handlers). [Jeff Trawick] diff --git a/modules/proxy/mod_proxy_wstunnel.c b/modules/proxy/mod_proxy_wstunnel.c index 215fd5c2744..57c13aaac6b 100644 --- a/modules/proxy/mod_proxy_wstunnel.c +++ b/modules/proxy/mod_proxy_wstunnel.c @@ -447,7 +447,7 @@ static int proxy_wstunnel_handler(request_rec *r, proxy_worker *worker, } backend->is_ssl = 0; - backend->close = 0; + backend->close = 1; retry = 0; while (retry < 2) {