Handle RDP disconnect.
This commit is contained in:
parent
8a771d2cd9
commit
59a32064d4
@ -172,6 +172,13 @@ int rdp_guac_client_handle_messages(guac_client* client) {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Handle RDP disconnect */
|
||||||
|
if (freerdp_shall_disconnect(rdp_inst)) {
|
||||||
|
guac_error = GUAC_STATUS_NO_INPUT;
|
||||||
|
guac_error_message = "RDP server closed connection";
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
/* Success */
|
/* Success */
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user