mirror of
https://github.com/nginx/nginx.git
synced 2026-06-26 11:52:00 +00:00
worker processes did not exit after reconfiguration and
did not rotate logs if eventport was used
This commit is contained in:
parent
b69d913c6f
commit
e1f43ce292
1 changed files with 6 additions and 0 deletions
|
|
@ -1027,6 +1027,12 @@ ngx_channel_handler(ngx_event_t *ev)
|
|||
return;
|
||||
}
|
||||
|
||||
if (ngx_event_flags & NGX_USE_EVENTPORT_EVENT) {
|
||||
if (ngx_add_event(ev, NGX_READ_EVENT, 0) == NGX_ERROR) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (n == NGX_AGAIN) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue