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

This commit is contained in:
Michael Jumper
2017-01-15 14:00:20 -08:00
parent 005f6153f8
commit 41881be909

View File

@@ -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);