mirror of
https://github.com/netbirdio/IronRDP.git
synced 2026-05-22 18:43:12 -07:00
feat(dvc): some debug statement on invalid channel state
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
committed by
Benoît Cortier
parent
3dc8a56070
commit
265b661b81
@@ -163,6 +163,7 @@ impl SvcProcessor for DrdynvcServer {
|
||||
let channel_id = data.channel_id();
|
||||
let c = self.channel_by_id(channel_id).map_err(|e| decode_err!(e))?;
|
||||
if c.state != ChannelState::Opened {
|
||||
debug!(?channel_id, ?c.state, "Invalid channel state");
|
||||
return Err(pdu_other_err!("invalid channel state"));
|
||||
}
|
||||
if let Some(complete) = c.complete_data.process_data(data).map_err(|e| decode_err!(e))? {
|
||||
|
||||
Reference in New Issue
Block a user