GUACAMOLE-172: Do not send potentially-invalid "sync" as a keep-alive. Use "nop" instead.

This commit is contained in:
Michael Jumper committed 2017-01-24 11:01:45 -08:00
1 parent 005f6153f8
commit 41881be909
1 file changed
+1 -1
@@ -1346,7 +1346,7 @@ Guacamole.Client = function(tunnel) {
// Ping every 5 seconds (ensure connection alive) // Ping every 5 seconds (ensure connection alive)
pingInterval = window.setInterval(function() { pingInterval = window.setInterval(function() {
tunnel.sendMessage("sync", currentTimestamp); tunnel.sendMessage("nop");
}, 5000); }, 5000);
setState(STATE_WAITING); setState(STATE_WAITING);