GUACAMOLE-221: Add socket keepalive when sending required fields.
This commit is contained in:
parent
51b9c9c103
commit
7759f9b1c0
@ -994,6 +994,9 @@ int guac_protocol_send_rect(guac_socket* socket,
|
|||||||
static int __guac_protocol_send_required(guac_socket* socket,
|
static int __guac_protocol_send_required(guac_socket* socket,
|
||||||
const char** required) {
|
const char** required) {
|
||||||
|
|
||||||
|
// The socket should be kept alive while waiting for user response.
|
||||||
|
guac_socket_require_keep_alive(socket);
|
||||||
|
|
||||||
if (guac_socket_write_string(socket, "8.required"))
|
if (guac_socket_write_string(socket, "8.required"))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user