Fix, HUP will sometimes happen in write

This commit is contained in:
Irving Ou 2024-02-05 13:45:17 -05:00 committed by irving ou
parent ac7fbcae31
commit c135cc2de6
1 changed files with 0 additions and 1 deletions

View File

@ -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),
)
}
}