GUACAMOLE-203: Change timer to timeout
This commit is contained in:
parent
af4d762147
commit
8c24c77d55
@ -54,9 +54,9 @@
|
|||||||
#define GUAC_SSH_DEFAULT_RECORDING_NAME "recording"
|
#define GUAC_SSH_DEFAULT_RECORDING_NAME "recording"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The default polling timer for SSH activity in milliseconds.
|
* The default polling timeout for SSH activity in milliseconds.
|
||||||
*/
|
*/
|
||||||
#define GUAC_SSH_DEFAULT_POLL_TIMER 1000
|
#define GUAC_SSH_DEFAULT_POLL_TIMEOUT 1000
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Settings for the SSH connection. The values for this structure are parsed
|
* Settings for the SSH connection. The values for this structure are parsed
|
||||||
|
@ -343,7 +343,7 @@ void* ssh_client_thread(void* data) {
|
|||||||
}
|
}
|
||||||
/* If keepalive is not configured, sleep for the default of 1 second */
|
/* If keepalive is not configured, sleep for the default of 1 second */
|
||||||
else
|
else
|
||||||
timer = GUAC_SSH_DEFAULT_POLL_TIMER;
|
timer = GUAC_SSH_DEFAULT_POLL_TIMEOUT;
|
||||||
|
|
||||||
/* Read terminal data */
|
/* Read terminal data */
|
||||||
bytes_read = libssh2_channel_read(ssh_client->term_channel,
|
bytes_read = libssh2_channel_read(ssh_client->term_channel,
|
||||||
|
Loading…
Reference in New Issue
Block a user