We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0951107 commit f9a7d6eCopy full SHA for f9a7d6e
src/tools/miri/src/shims/unix/socket.rs
@@ -71,12 +71,12 @@ impl FileDescription for SocketPair {
71
} else {
72
// Peer FD has been closed.
73
epoll_ready_events.epollrdhup = true;
74
+ epoll_ready_events.epollhup = true;
75
// Since the peer is closed, even if no data is available reads will return EOF and
76
// writes will return EPIPE. In other words, they won't block, so we mark this as ready
77
// for read and write.
78
epoll_ready_events.epollin = true;
79
epoll_ready_events.epollout = true;
- epoll_ready_events.epollhup = true;
80
}
81
Ok(epoll_ready_events)
82
0 commit comments