Merge pull request #5630 from akallabeth/fastpath_reset

Reset fastpath on disconnect, fixes #5629
This commit is contained in:
Martin Fleisz 2019-10-02 11:10:07 +02:00 committed by GitHub
commit 554baf0345
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1779,10 +1779,12 @@ void rdp_reset(rdpRdp* rdp)
nego_free(rdp->nego);
license_free(rdp->license);
transport_free(rdp->transport);
fastpath_free(rdp->fastpath);
rdp->transport = transport_new(context);
rdp->license = license_new(rdp);
rdp->nego = nego_new(rdp->transport);
rdp->mcs = mcs_new(rdp->transport);
rdp->fastpath = fastpath_new(rdp);
rdp->transport->layer = TRANSPORT_LAYER_TCP;
rdp->errorInfo = 0;
rdp->deactivation_reactivation = 0;