r1288 merge:

fix segfault when event port returns POLLERR without POLLIN or POLLOUT
This commit is contained in:
Igor Sysoev 2007-07-13 10:45:33 +00:00
parent 129dd82d2a
commit 96e7062852
1 changed files with 4 additions and 0 deletions

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