You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
683 B
26 lines
683 B
6 years ago
|
Index: modules/proxy/mod_proxy_wstunnel.c
|
||
|
===================================================================
|
||
|
--- a/modules/proxy/mod_proxy_wstunnel.c (revision 1593857)
|
||
|
+++ b/modules/proxy/mod_proxy_wstunnel.c (revision 1594625)
|
||
|
@@ -477,9 +477,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";
|
||
|
@@ -503,7 +505,7 @@
|
||
|
return status;
|
||
|
}
|
||
|
|
||
|
- backend->is_ssl = 0;
|
||
|
+ backend->is_ssl = is_ssl;
|
||
|
backend->close = 0;
|
||
|
|
||
|
retry = 0;
|