Fixed #7454: When error_info is received abort

If an error_info with a failure is received, call
freerdp_abort_connect to terminate the connection.
This commit is contained in:
Armin Novak 2021-11-30 08:08:04 +01:00 committed by akallabeth
parent 6ee60ea15a
commit 3325ac450e

View File

@ -360,6 +360,9 @@ BOOL rdp_set_error_info(rdpRdp* rdp, UINT32 errorInfo)
}
else
WLog_ERR(TAG, "%s missing context=%p", __FUNCTION__, context);
/* Ensure the connection is terminated */
freerdp_abort_connect(context->instance);
}
else
{