mirror of https://github.com/smol-rs/polling
Fix, HUP will sometimes happen in write
This commit is contained in:
parent
ac7fbcae31
commit
c135cc2de6
|
@ -370,7 +370,6 @@ impl EventExtra {
|
|||
pub fn is_connect_failed(&self) -> Option<bool> {
|
||||
Some(
|
||||
self.flags.contains(epoll::EventFlags::ERR)
|
||||
|| self.flags.contains(epoll::EventFlags::HUP),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue