mirror of
https://git.meli.delivery/meli/meli
synced 2024-11-10 19:10:57 +00:00
imap: Don't fail on WouldBlock on ImapBlockingConnection
This commit is contained in:
parent
ca51077f53
commit
6b2a1f7757
@ -507,6 +507,9 @@ impl Iterator for ImapBlockingConnection {
|
|||||||
return Some(result[0..*prev_res_length].to_vec());
|
return Some(result[0..*prev_res_length].to_vec());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Err(e) if e.kind() == std::io::ErrorKind::WouldBlock => {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
debug!(&conn.stream);
|
debug!(&conn.stream);
|
||||||
debug!(&e);
|
debug!(&e);
|
||||||
|
Loading…
Reference in New Issue
Block a user