
When generating a fake hangup event, EPOLLRDHUP is used if available, otherwise EPOLLHUP. process_pollq(int) does the same thing both in the case of EPOLLRDHUP and EPOLLHUP, so it seems this should work.
When generating a fake hangup event, EPOLLRDHUP is used if available, otherwise EPOLLHUP. process_pollq(int) does the same thing both in the case of EPOLLRDHUP and EPOLLHUP, so it seems this should work.