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 a9af7bfada
commit d2c996a57c

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) {