mirror of
https://github.com/nginx/nginx.git
synced 2025-01-05 21:53:01 -06:00
fix segfault when event port returns POLLERR without POLLIN or POLLOUT
This commit is contained in:
parent
a9af7bfada
commit
d2c996a57c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user