summaryrefslogtreecommitdiff
path: root/epoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'epoll.c')
-rw-r--r--epoll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epoll.c b/epoll.c
index f527a67..644162b 100644
--- a/epoll.c
+++ b/epoll.c
@@ -449,6 +449,7 @@ int mainloop_epoll(struct Settings *_settings)
/* New connection */
do_accept(fdinfo, fd);
} else {
+ /* XXX should we handle EPOLLRDHUP? */
if (events[i].events & EPOLLHUP) {
protohnd_willclose(fdinfo);
}