mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-08-04 15:18:17 +00:00
refactor(async): let read_by_hint() optionally accumulate unmatched bytes
The caller can then decide what to do. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
46b703e813
commit
98e7dbab99
3 changed files with 17 additions and 6 deletions
|
@ -940,7 +940,7 @@ where
|
|||
// RDCleanPath response
|
||||
|
||||
let rdcleanpath_res = framed
|
||||
.read_by_hint(&RDCLEANPATH_HINT)
|
||||
.read_by_hint(&RDCLEANPATH_HINT, None)
|
||||
.await
|
||||
.context("read RDCleanPath request")?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue