mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08: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
@ -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…
Reference in New Issue
Block a user