]> git.proxmox.com Git - mirror_novnc.git/commit
Issue #15: noVNC falls behind.
authorJoel Martin <github@martintribe.org>
Fri, 23 Jul 2010 16:46:41 +0000 (11:46 -0500)
committerJoel Martin <github@martintribe.org>
Fri, 23 Jul 2010 16:46:41 +0000 (11:46 -0500)
commit42b2246c1ab34213661d8f616fcda8c1141acba7
tree363e78d9ce871d59521d925f0df794cc5bb4e0ad
parent11304584ca39564a5b28dd599e974acf62bd15a0
Issue #15: noVNC falls behind.

noVNC was never processing more than one framebufferUpdate message per
onmessage event. If noVNC receives an incomplete framebufferUpdate and
then receives the rest of the framebufferUpdate plus another complete
framebufferUpdate, then it will fall permanently behind.

If there is more to process after a completed framebufferUpdate, then
execute normal_msg again.

All the render routines must return false if there is not enough data
in the receive queue to process their current update, and true
otherwise.
include/rfb.js