mirror of https://github.com/smol-rs/polling
e25b3b4e4c
In linux, epoll, EPOLLHUP may happen even if no connection call is made. It would confuse callers for what is actually happening. Replaced is_connect_failed, and we detect if connection failed by using the combination of is_err and is_interrupt, please see the example, tcp_client |
||
---|---|---|
.. | ||
iocp | ||
os | ||
epoll.rs | ||
kqueue.rs | ||
lib.rs | ||
os.rs | ||
poll.rs | ||
port.rs |