Merge pull request #1593 from matt335672/issue1569

Ignore TS_MULTIFRAGMENTUPDATE_CAPABILITYSET from client if fp disabled
This commit is contained in:
matt335672 2020-05-27 08:03:00 +01:00 committed by GitHub
commit 358f07d1c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -561,7 +561,10 @@ xrdp_caps_process_multifragmentupdate(struct xrdp_rdp *self, struct stream *s,
int MaxRequestSize;
in_uint32_le(s, MaxRequestSize);
self->client_info.max_fastpath_frag_bytes = MaxRequestSize;
if (self->client_info.use_fast_path & 1)
{
self->client_info.max_fastpath_frag_bytes = MaxRequestSize;
}
return 0;
}