mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-12-04 23:33:58 +08:00
libfreerdp-core: fix detection of TS Gateway transport disconnection
This commit is contained in:
parent
81e190eccb
commit
94f828a873
@ -512,7 +512,10 @@ static void* rpc_client_thread(void* arg)
|
||||
if (WaitForSingleObject(ReadEvent, 0) == WAIT_OBJECT_0)
|
||||
{
|
||||
if (rpc_client_on_read_event(rpc) < 0)
|
||||
{
|
||||
rpc->transport->layer = TRANSPORT_LAYER_CLOSED;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (WaitForSingleObject(Queue_Event(rpc->client->SendQueue), 0) == WAIT_OBJECT_0)
|
||||
|
Loading…
Reference in New Issue
Block a user