fix idle loop error

This commit is contained in:
Quentin 2024-02-08 19:40:43 +01:00
parent 678c5bacc6
commit 59f4bdf9d0
Signed by: quentin
GPG Key ID: E9602264D639FF68
1 changed files with 2 additions and 1 deletions

View File

@ -368,7 +368,8 @@ impl NetLoop {
},
// User is trying to interact with us
_read_client_bytes = self.server.stream.read(&mut buff) => {
read_client_result = self.server.stream.read(&mut buff) => {
let _bytes_read = read_client_result?;
use imap_codec::decode::Decoder;
let codec = imap_codec::IdleDoneCodec::new();
tracing::trace!("client sent some data for the server IMAP session");