]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
*) mod_proxy_hcheck: Use is_ssl for wss and https.
authorDaniel Ruggeri <druggeri@apache.org>
Thu, 26 Mar 2020 14:37:03 +0000 (14:37 +0000)
committerDaniel Ruggeri <druggeri@apache.org>
Thu, 26 Mar 2020 14:37:03 +0000 (14:37 +0000)
     trunk patch: http://svn.apache.org/r1875579
     2.4.x patch: svn merge -c 1875579 ^/httpd/httpd/trunk .
     +1: jfclere, gbechis, druggeri

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1875712 13f79535-47bb-0310-9956-ffa450edef68

STATUS
modules/proxy/mod_proxy_hcheck.c

diff --git a/STATUS b/STATUS
index 7e7f438a24d1a755898bbfddad0410541b6400a0..41b27b7a12b62f940d9fa39b0fdf6ba8cd11a9e7 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -133,10 +133,6 @@ RELEASE SHOWSTOPPERS:
 
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
-  *) mod_proxy_hcheck: Use is_ssl for wss and https.
-     trunk patch: http://svn.apache.org/r1875579
-     2.4.x patch: svn merge -c 1875579 ^/httpd/httpd/trunk .
-     +1: jfclere, gbechis, druggeri
 
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
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?");