From e17453ef97b38967e01d9a8ea659ca0dd437f0f9 Mon Sep 17 00:00:00 2001 From: avwx Date: Tue, 16 Jul 2019 18:02:30 -0400 Subject: [PATCH] GUACAMOLE-846: tunnel.uuid not initialized if tunnel becomes UNSTABLE --- guacamole-common-js/src/main/webapp/modules/Tunnel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guacamole-common-js/src/main/webapp/modules/Tunnel.js b/guacamole-common-js/src/main/webapp/modules/Tunnel.js index 4f056c9db..149dce464 100644 --- a/guacamole-common-js/src/main/webapp/modules/Tunnel.js +++ b/guacamole-common-js/src/main/webapp/modules/Tunnel.js @@ -1015,7 +1015,7 @@ Guacamole.WebSocketTunnel = function(tunnelURL) { var opcode = elements.shift(); // Update state and UUID when first instruction received - if (tunnel.state === Guacamole.Tunnel.State.CONNECTING) { + if (tunnel.uuid === null) { // Associate tunnel UUID if received if (opcode === Guacamole.Tunnel.INTERNAL_DATA_OPCODE)