Blob Blame History Raw
--- ./modules/proxy/mod_proxy_wstunnel.c	2013-06-13 10:09:31.000000000 -0500
+++ ./modules/proxy/mod_proxy_wstunnel.c	2013-11-11 15:58:51.000000000 -0600
@@ -315,9 +315,11 @@ 
     conn_rec *c = r->connection;
     apr_pool_t *p = r->pool;
     apr_uri_t *uri;
+    int is_ssl = 0;
 
     if (strncasecmp(url, "wss:", 4) == 0) {
         scheme = "WSS";
+        is_ssl = 1;
     }
     else if (strncasecmp(url, "ws:", 3) == 0) {
         scheme = "WS";
@@ -341,7 +343,7 @@ 
         return status;
     }
 
-    backend->is_ssl = 0;
+    backend->is_ssl = is_ssl;
     backend->close = 0;
 
     retry = 0;