fix segfault when event port returns POLLERR without POLLIN or POLLOUT
This commit is contained in:
parent
d2165b3f83
commit
3c46293a23
1 changed files with 4 additions and 0 deletions
|
@ -514,6 +514,10 @@ ngx_eventport_process_events(ngx_cycle_t *cycle, ngx_msec_t timer,
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
rev->handler(rev);
|
rev->handler(rev);
|
||||||
|
|
||||||
|
if (ev->closed) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rev->accept) {
|
if (rev->accept) {
|
||||||
|
|
Loading…
Reference in a new issue