moresandeep 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_r321785999
 
 

 ##########
 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:
   Use a new function to log generic log messages, `LOG.logMessage` is used to 
log WS messages.

----------------------------------------------------------------
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