Devolutions / IronRDP

Rust implementation of the Microsoft Remote Desktop Protocol (RDP)
Apache License 2.0
380 stars 49 forks source link

Error occurred after refactor(pdu) #541

Closed lidarbtc closed 2 months ago

lidarbtc commented 2 months ago

I change screenshot example config little bit.

enable_tls: true,
enable_credssp: false,

and I run cargo run --example=screenshot -- --host 127.0.0.1 --username 1 --password 2 --output out.bmp

I got this error.

Error: connect

Caused by:
    0: finalize connection
    1: [decode error] decode error
    2: [SendDataIndication] invalid `domain-mcspdu`: unexpected application tag for CHOICE

But when I run the git checkout 703b245993f5af096734b273436bf47ac1f939d1 command after it, it works fine.

Maybe there are wrong changes between 402ffd56c93af5a5e8578fc241071a64840b785d and fb8f12a62e7778e41d92db3f032f40d4efd953b4.

CBenoit commented 2 months ago

Hello @lidarbtc Good catch, and thank you for reporting this bug. It has been fixed in #543