You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2013/03/05 20:07:08 UTC

svn commit: r1452949 - /httpd/httpd/trunk/modules/proxy/mod_proxy_websocket.c

Author: jim
Date: Tue Mar  5 19:07:07 2013
New Revision: 1452949

URL: http://svn.apache.org/r1452949
Log:
force correct scheme info

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_websocket.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_websocket.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_websocket.c?rev=1452949&r1=1452948&r2=1452949&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_websocket.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_websocket.c Tue Mar  5 19:07:07 2013
@@ -35,12 +35,12 @@ static int proxy_websocket_canon(request
     /* ap_port_of_scheme() */
     if (strncasecmp(url, "ws:", 3) == 0) {
         url += 3;
-        scheme = "ws";
+        scheme = "ws:";
         def_port = apr_uri_port_of_scheme("http");
     }
     else if (strncasecmp(url, "wss:", 4) == 0) {
         url += 4;
-        scheme = "wss";
+        scheme = "wss:";
         def_port = apr_uri_port_of_scheme("https");
     }
     else {