mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-08-04 15:18:17 +00:00
feat(async): teach single_sequence_step() to keep unmatched PDUs
The caller can gather the unmatching/unexpected PDUs as necessary. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
6f779406e6
commit
e54fa5f4c8
5 changed files with 13 additions and 10 deletions
|
@ -41,7 +41,7 @@ where
|
|||
return Ok(result);
|
||||
}
|
||||
|
||||
single_sequence_step(&mut framed, acceptor, &mut buf).await?;
|
||||
single_sequence_step(&mut framed, acceptor, &mut buf, None).await?;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -59,6 +59,6 @@ where
|
|||
return Ok((framed, result));
|
||||
}
|
||||
|
||||
single_sequence_step(&mut framed, acceptor, &mut buf).await?;
|
||||
single_sequence_step(&mut framed, acceptor, &mut buf, None).await?;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue