mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 09:03:21 +00:00 
			
		
		
		
	GUAC-1427: Do not invoke createTunnel() within WebSocket tunnels unless close() is guaranteed to eventually run.
This commit is contained in:
		| @@ -207,6 +207,10 @@ public abstract class GuacamoleWebSocketTunnelEndpoint extends Endpoint { | ||||
|     @OnMessage | ||||
|     public void onMessage(String message) { | ||||
|  | ||||
|         // Ignore inbound messages if there is no associated tunnel | ||||
|         if (tunnel == null) | ||||
|             return; | ||||
|  | ||||
|         GuacamoleWriter writer = tunnel.acquireWriter(); | ||||
|  | ||||
|         try { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user