mirror of
https://github.com/Devolutions/IronRDP.git
synced 2026-11-24 01:04:51 +00:00
7853e3cc6f
`decode_io_channel()` assumes all IO channel PDUs begin with a`ShareControlHeader`. Multitransport Request PDUs use a `BasicSecurityHeader` with `SEC_TRANSPORT_REQ` instead ([MS-RDPBCGR] 2.2.15.1). This adds a peek-based dispatch: check the first `u16` for`TRANSPORT_REQ`, decode as `MultitransportRequestPdu` if set, otherwise fall through to the existing `decode_share_control()` path unchanged. The new variant is propagated through `ProcessorOutput` and 'ActiveStageOutput` so applications can handle multitransport requests. Client and web consumers log the request (no UDP transport yet). [MS-RDPBCGR]: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/de783158-8b01-4818-8fb0-62523a5b3490