pwgcz commented on code in PR #635:
URL: https://github.com/apache/guacamole-server/pull/635#discussion_r3009534250
##########
src/protocols/rdp/rdp.c:
##########
@@ -623,6 +623,12 @@ static int guac_rdp_handle_connection(guac_client* client)
{
int connection_closing;
do {
+ /* Break if FreeRDP has recorded a connection error */
+ if (freerdp_get_last_error(GUAC_RDP_CONTEXT(rdp_inst)) !=
FREERDP_ERROR_SUCCESS) {
+ wait_result = -1;
+ break;
+ }
Review Comment:
Agreed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]