GUAC-1374: The keep alive ping is disabled by default.

This commit is contained in:
Michael Jumper 2015-10-19 11:55:18 -07:00
parent 8a91965b07
commit 364987b159

View File

@ -161,6 +161,9 @@ guac_socket* guac_socket_alloc() {
/* Default to unsafe threading */ /* Default to unsafe threading */
socket->__threadsafe_instructions = 0; socket->__threadsafe_instructions = 0;
/* No keep alive ping by default */
socket->__keep_alive_enabled = 0;
pthread_mutexattr_init(&lock_attributes); pthread_mutexattr_init(&lock_attributes);
pthread_mutexattr_setpshared(&lock_attributes, PTHREAD_PROCESS_SHARED); pthread_mutexattr_setpshared(&lock_attributes, PTHREAD_PROCESS_SHARED);