guacamole-server
guacamole-server copied to clipboard
GUACAMOLE-1444: After VNC server network interruption disconnect at client side.
In this I tried with LIBVNC internal Readtimeout but even after blocking the main function for some time it still doesn't respond back with a error message. So, applied a ping approach. If the Client is idle and no packets are transferred through VNC. The Guacamole server sends a ping/reconnect request to see if the server is on or not, every 10s.
We can modify this timeout GUAC_VNC_IDLE_TIMEOUT.
@Noor-glyp You requested a review on this one a while back, but there's still one or two outstanding comments to be resolved.