weizhouapache commented on code in PR #7826:
URL: https://github.com/apache/cloudstack/pull/7826#discussion_r1294308690


##########
services/console-proxy/server/src/main/java/com/cloud/consoleproxy/ConsoleProxyNoVncClient.java:
##########
@@ -113,25 +113,29 @@ public void run() {
                             if (client.isVncOverWebSocketConnectionOpen()) {
                                 updateFrontEndActivityTime();
                             }
-                            connectionAlive = 
client.isVncOverWebSocketConnectionAlive();
+                            connectionAlive = session.isOpen();

Review Comment:
   thanks @GutoVeronezi 
   so `session.isOpen()` is good enough to determine if the connection is still 
alive ?



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to