Require keep-alive on VNC protocol support socket.

This commit is contained in:
Michael Jumper 2013-10-09 16:01:57 -07:00
parent eac99e0ce1
commit bc3c8a31c5

View File

@ -267,6 +267,9 @@ int guac_client_init(guac_client* client, int argc, char** argv) {
else
guac_client_data->listen_timeout = 5000;
/* Ensure connection is kept alive during lengthy connects */
guac_socket_require_keep_alive(client->socket);
/* Attempt connection */
rfb_client = __guac_vnc_get_client(client);