]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_proxy_http: follow up to r1885239: fix *is_ssl for wss scheme.
authorYann Ylavic <ylavic@apache.org>
Thu, 7 Jan 2021 13:38:37 +0000 (13:38 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 7 Jan 2021 13:38:37 +0000 (13:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1885240 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_http.c

index 657ef248898c545d5b7f41f62e3ec1a030e6d2d4..f5d6fe24f29c460a08128af823c5a889297da419 100644 (file)
@@ -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";
             }