Skip to main content

is_tls_close_notify

Function is_tls_close_notify 

pub fn is_tls_close_notify(e: &Error) -> bool
Expand description

Detects the missing-close_notify truncation that Exchange-hosted IMAP servers produce. ErrorKind::UnexpectedEof is the stable signal; the string match is a fallback for rustls variants that only surface it in the display text.