core: Always send CS_MULTITRANSPORT PDU to server

This PDU is required by Microsoft servers in order for bandwidth
management to work correctly. Even if we do not support multi-transport
for now we should just send a PDU with flags set to 0 to enable correct
handing of bandwidth measurement PDUs.
This commit is contained in:
Martin Fleisz 2020-01-23 15:16:14 +01:00
parent baca062321
commit 7ef8b10fec
1 changed files with 2 additions and 5 deletions

View File

@ -1985,11 +1985,8 @@ void gcc_write_client_multitransport_channel_data(wStream* s, rdpMcs* mcs)
{
rdpSettings* settings = mcs->settings;
if (settings->MultitransportFlags != 0)
{
gcc_write_user_data_header(s, CS_MULTITRANSPORT, 8);
Stream_Write_UINT32(s, settings->MultitransportFlags); /* flags */
}
gcc_write_user_data_header(s, CS_MULTITRANSPORT, 8);
Stream_Write_UINT32(s, settings->MultitransportFlags); /* flags */
}
BOOL gcc_read_server_multitransport_channel_data(wStream* s, rdpMcs* mcs)