server: PostConnect should not be called again during reactivation.
This commit is contained in:
parent
8a8e5fc5a4
commit
af0c5e514d
@ -86,6 +86,11 @@ static boolean peer_recv_data_pdu(rdpPeer* peer, STREAM* s)
|
|||||||
{
|
{
|
||||||
if (!peer->client->PostConnect(peer->client))
|
if (!peer->client->PostConnect(peer->client))
|
||||||
return False;
|
return False;
|
||||||
|
/**
|
||||||
|
* PostConnect should only be called once and should not be called
|
||||||
|
* after a reactivation sequence.
|
||||||
|
*/
|
||||||
|
peer->client->PostConnect = NULL;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user