diff --git a/melib/src/backends/imap/connection.rs b/melib/src/backends/imap/connection.rs index d6cc7f02..e384f87d 100644 --- a/melib/src/backends/imap/connection.rs +++ b/melib/src/backends/imap/connection.rs @@ -507,6 +507,9 @@ impl Iterator for ImapBlockingConnection { return Some(result[0..*prev_res_length].to_vec()); } } + Err(e) if e.kind() == std::io::ErrorKind::WouldBlock => { + continue; + } Err(e) => { debug!(&conn.stream); debug!(&e);