mirror of https://github.com/FreeRDP/FreeRDP
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:
parent
baca062321
commit
7ef8b10fec
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue