From: Yann Ylavic Date: Thu, 7 Jan 2021 13:38:37 +0000 (+0000) Subject: mod_proxy_http: follow up to r1885239: fix *is_ssl for wss scheme. X-Git-Tag: 2.5.0-alpha2-ci-test-only~1061 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c3a2e5a61b1e7fce615b2f2fde5533d87033d4b;p=thirdparty%2Fapache%2Fhttpd.git mod_proxy_http: follow up to r1885239: fix *is_ssl for wss scheme. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1885240 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_http.c b/modules/proxy/mod_proxy_http.c index 657ef248898..f5d6fe24f29 100644 --- a/modules/proxy/mod_proxy_http.c +++ b/modules/proxy/mod_proxy_http.c @@ -58,7 +58,7 @@ static const char *get_url_scheme(const char **url, int *is_ssl) return "ws"; } if (apr_tolower(u[2]) == 's' && u[3] == ':') { - *is_ssl = 0; + *is_ssl = 1; *url = u + 4; return "wss"; }