fix segfault when event port returns POLLERR without POLLIN or POLLOUT

This commit is contained in:
Igor Sysoev 2007-07-11 10:45:55 +00:00
parent d2165b3f83
commit 3c46293a23

View file

@ -514,6 +514,10 @@ ngx_eventport_process_events(ngx_cycle_t *cycle, ngx_msec_t timer,
} else {
rev->handler(rev);
if (ev->closed) {
continue;
}
}
if (rev->accept) {