mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-1562: Ensure "ping" response is not erroneously handled as the tunnel UUID.
This commit is contained in:
committed by
Mike Jumper
parent
4534f945f2
commit
063557f084
@@ -1094,7 +1094,7 @@ Guacamole.WebSocketTunnel = function(tunnelURL) {
|
|||||||
if (tunnel.uuid === null) {
|
if (tunnel.uuid === null) {
|
||||||
|
|
||||||
// Associate tunnel UUID if received
|
// Associate tunnel UUID if received
|
||||||
if (opcode === Guacamole.Tunnel.INTERNAL_DATA_OPCODE)
|
if (opcode === Guacamole.Tunnel.INTERNAL_DATA_OPCODE && elements.length === 1)
|
||||||
tunnel.setUUID(elements[0]);
|
tunnel.setUUID(elements[0]);
|
||||||
|
|
||||||
// Tunnel is now open and UUID is available
|
// Tunnel is now open and UUID is available
|
||||||
|
Reference in New Issue
Block a user