expose EPOLLRDHUP (closes #27567)

This commit is contained in:
Benjamin Peterson 2016-07-18 21:47:39 -07:00
parent 6fb90905e2
commit 96e97169cc
3 changed files with 6 additions and 1 deletions

View file

@ -285,6 +285,9 @@ Edge and Level Trigger Polling (epoll) Objects
| :const:`EPOLLONESHOT` | Set one-shot behavior. After one event is |
| | pulled out, the fd is internally disabled |
+-----------------------+-----------------------------------------------+
| :const:`EPOLLRDHUP` | Stream socket peer closed connection or shut |
| | down writing half of connection. |
+-----------------------+-----------------------------------------------+
| :const:`EPOLLRDNORM` | Equivalent to :const:`EPOLLIN` |
+-----------------------+-----------------------------------------------+
| :const:`EPOLLRDBAND` | Priority data band can be read. |