Skip to content

Commit 265b661

Browse files
elmarcoCBenoit
authored andcommitted
feat(dvc): some debug statement on invalid channel state
Signed-off-by: Marc-André Lureau <[email protected]>
1 parent 3dc8a56 commit 265b661

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/ironrdp-dvc/src/server.rs

+1
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ impl SvcProcessor for DrdynvcServer {
163163
let channel_id = data.channel_id();
164164
let c = self.channel_by_id(channel_id).map_err(|e| decode_err!(e))?;
165165
if c.state != ChannelState::Opened {
166+
debug!(?channel_id, ?c.state, "Invalid channel state");
166167
return Err(pdu_other_err!("invalid channel state"));
167168
}
168169
if let Some(complete) = c.complete_data.process_data(data).map_err(|e| decode_err!(e))? {

0 commit comments

Comments
 (0)