summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Frederic Clere <jfclere@apache.org>2020-03-24 17:20:18 +0100
committerJean-Frederic Clere <jfclere@apache.org>2020-03-24 17:20:18 +0100
commitbdca42c7b56667fdc64181a0fb2b04188c859295 (patch)
treed476e44ae344fce5af00ee2a4d240d9240a1b093
parentFix compilation breakage with OpenSSL 1.1.0 up to 1.1.0f. (diff)
downloadapache2-bdca42c7b56667fdc64181a0fb2b04188c859295.tar.xz
apache2-bdca42c7b56667fdc64181a0fb2b04188c859295.zip
wss also needs is_ssl.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875579 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--modules/proxy/mod_proxy_hcheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxy/mod_proxy_hcheck.c b/modules/proxy/mod_proxy_hcheck.c
index 9854e348a5..832bee657e 100644
--- a/modules/proxy/mod_proxy_hcheck.c
+++ b/modules/proxy/mod_proxy_hcheck.c
@@ -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?");