Skip to content

Commit

Permalink
GUACAMOLE-377: Fix regression causing RDP connections to always recon…
Browse files Browse the repository at this point in the history
…nect after closing.
  • Loading branch information
mike-jumper committed Sep 28, 2024
1 parent 4c8f693 commit 326beec
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/protocols/rdp/rdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -613,11 +613,9 @@ static int guac_rdp_handle_connection(guac_client* client) {
break;

/* Handle any queued FreeRDP events (this may result in RDP messages
* being sent), aborting if FreeRDP event handling fails */
if (!guac_rdp_handle_events(rdp_client)) {
* being sent), aborting later if FreeRDP event handling fails */
if (!guac_rdp_handle_events(rdp_client))
wait_result = -1;
break;
}

/* Test whether the RDP server is closing the connection */
int connection_closing;
Expand Down

0 comments on commit 326beec

Please sign in to comment.