Increased wait time for messages (as libguac now uses I/O threads)
This commit is contained in:
parent
7f106c663c
commit
df7fa4c88d
@ -251,8 +251,7 @@ int vnc_guac_client_handle_messages(guac_client* client) {
|
|||||||
int wait_result;
|
int wait_result;
|
||||||
rfbClient* rfb_client = ((vnc_guac_client_data*) client->data)->rfb_client;
|
rfbClient* rfb_client = ((vnc_guac_client_data*) client->data)->rfb_client;
|
||||||
|
|
||||||
|
wait_result = WaitForMessage(rfb_client, 1000000);
|
||||||
wait_result = WaitForMessage(rfb_client, 2000);
|
|
||||||
if (wait_result < 0) {
|
if (wait_result < 0) {
|
||||||
GUAC_LOG_ERROR("Error waiting for VNC server message\n");
|
GUAC_LOG_ERROR("Error waiting for VNC server message\n");
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user