EPOLLRDHUP (since Linux 2.6.17)
Stream socket peer closed connection, or shut down writing half of connection. (This flag is especially useful for writing simple code to detect peer shutdown when using
edge-triggered monitoring.)
However, this event is never used in epoll_reactor.ipp.
from man epoll_ctl:
However, this event is never used in epoll_reactor.ipp.