diff --git a/epoll.c b/epoll.c index 1d4393e6ca..299e3d355c 100644 --- a/epoll.c +++ b/epoll.c @@ -282,7 +282,7 @@ epoll_apply_one_change(struct event_base *base, return 0; } - if ((ch->read_change|ch->write_change) & EV_CHANGE_ET) + if ((ch->read_change|ch->write_change|ch->close_change) & EV_CHANGE_ET) events |= EPOLLET; memset(&epev, 0, sizeof(epev));