httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1452949 - /httpd/httpd/trunk/modules/proxy/mod_proxy_websocket.c
Date Tue, 05 Mar 2013 19:07:08 GMT
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 {



Mime
View raw message