GUAC-1374: The keep alive ping is disabled by default.
This commit is contained in:
parent
8a91965b07
commit
364987b159
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user