]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
wss also needs is_ssl.
authorJean-Frederic Clere <jfclere@apache.org>
Tue, 24 Mar 2020 16:20:18 +0000 (16:20 +0000)
committerJean-Frederic Clere <jfclere@apache.org>
Tue, 24 Mar 2020 16:20:18 +0000 (16:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875579 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_hcheck.c

index 9854e348a53a38113713748c8952fdbf5f2ef8fb..832bee657e4c3720ad58023c3e23120f86109a6f 100644 (file)
@@ -598,7 +598,7 @@ static int hc_get_backend(const char *proxy_function, proxy_conn_rec **backend,
     if (status == OK) {
         (*backend)->addr = hc->cp->addr;
         (*backend)->hostname = hc->s->hostname_ex;
-        if (strcmp(hc->s->scheme, "https") == 0) {
+        if (strcmp(hc->s->scheme, "https") == 0 || strcmp(hc->s->scheme, "wss") == 0 ) {
             if (!ap_proxy_ssl_enable(NULL)) {
                 ap_log_error(APLOG_MARK, APLOG_WARNING, 0, ctx->s, APLOGNO(03252)
                               "mod_ssl not configured?");