goelrajat commented on a change in pull request #142: KNOX-1996: Adding changes 
to remove extra / while generating backedn …
URL: https://github.com/apache/knox/pull/142#discussion_r322075437
 
 

 ##########
 File path: 
gateway-server/src/main/java/org/apache/knox/gateway/websockets/GatewayWebsocketHandler.java
 ##########
 @@ -114,7 +114,8 @@ public Object createWebSocket(ServletUpgradeRequest req,
       final String path = requestURI.getPath();
 
       /* URL used to connect to websocket backend */
-      final String backendURL = getMatchedBackendURL(path);
+      final String backendURL = getMatchedBackendURL(path, requestURI);
+      LOG.logMessage("Generated backend URL for websocket connection: " + 
backendURL);
 
 Review comment:
   Done. Thanks

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to