mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-08-04 15:18:17 +00:00
fix(session): handle the set keyboard indicators PDU (#482)
This message doesn't require a response of any kind, but handling it here will prevent an unknown PDU error which kills the session. Co-authored-by: Benoît Cortier <bcortier@proton.me>
This commit is contained in:
parent
87375cb4d4
commit
dfbe947e5b
1 changed files with 5 additions and 0 deletions
|
@ -106,6 +106,11 @@ impl Processor {
|
|||
debug!("Got Session Save Info PDU: {session_info:?}");
|
||||
Ok(Vec::new())
|
||||
}
|
||||
// FIXME: workaround fix to not terminate the session on "unhandled PDU: Set Keyboard Indicators PDU"
|
||||
ShareDataPdu::SetKeyboardIndicators(data) => {
|
||||
debug!("Got Keyboard Indicators PDU: {data:?}");
|
||||
Ok(Vec::new())
|
||||
}
|
||||
ShareDataPdu::ServerSetErrorInfo(ServerSetErrorInfoPdu(ErrorInfo::ProtocolIndependentCode(
|
||||
ProtocolIndependentCode::None,
|
||||
))) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue