Skip to content

Expose EPOLLRDHUP via event manager

epoll (and, allegedly, kqueue) supports the EPOLLRDHUP event which allows the user to register for peer-closed events of socket fds. Exposing this event would be particularly useful for server applications, where it is often useful to be able to tear down resources associated with connections which have been prematurely closed.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information