From 41881be909ee933d80f1e22fed6b14e0d912ce8b Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 15 Jan 2017 14:00:20 -0800 Subject: [PATCH] GUACAMOLE-172: Do not send potentially-invalid "sync" as a keep-alive. Use "nop" instead. --- guacamole-common-js/src/main/webapp/modules/Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guacamole-common-js/src/main/webapp/modules/Client.js b/guacamole-common-js/src/main/webapp/modules/Client.js index 45ebfe303..1eb21f307 100644 --- a/guacamole-common-js/src/main/webapp/modules/Client.js +++ b/guacamole-common-js/src/main/webapp/modules/Client.js @@ -1346,7 +1346,7 @@ Guacamole.Client = function(tunnel) { // Ping every 5 seconds (ensure connection alive) pingInterval = window.setInterval(function() { - tunnel.sendMessage("sync", currentTimestamp); + tunnel.sendMessage("nop"); }, 5000); setState(STATE_WAITING);