Merge pull request #5630 from akallabeth/fastpath_reset
Reset fastpath on disconnect, fixes #5629
This commit is contained in:
commit
554baf0345
@ -1779,10 +1779,12 @@ void rdp_reset(rdpRdp* rdp)
|
|||||||
nego_free(rdp->nego);
|
nego_free(rdp->nego);
|
||||||
license_free(rdp->license);
|
license_free(rdp->license);
|
||||||
transport_free(rdp->transport);
|
transport_free(rdp->transport);
|
||||||
|
fastpath_free(rdp->fastpath);
|
||||||
rdp->transport = transport_new(context);
|
rdp->transport = transport_new(context);
|
||||||
rdp->license = license_new(rdp);
|
rdp->license = license_new(rdp);
|
||||||
rdp->nego = nego_new(rdp->transport);
|
rdp->nego = nego_new(rdp->transport);
|
||||||
rdp->mcs = mcs_new(rdp->transport);
|
rdp->mcs = mcs_new(rdp->transport);
|
||||||
|
rdp->fastpath = fastpath_new(rdp);
|
||||||
rdp->transport->layer = TRANSPORT_LAYER_TCP;
|
rdp->transport->layer = TRANSPORT_LAYER_TCP;
|
||||||
rdp->errorInfo = 0;
|
rdp->errorInfo = 0;
|
||||||
rdp->deactivation_reactivation = 0;
|
rdp->deactivation_reactivation = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user