Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-03-07 13:25:16 +0300
committerIgor Sysoev <igor@sysoev.ru>2007-03-07 13:25:16 +0300
commite1f43ce292b0ca463748e13b067ea36bbe8ca9bc (patch)
treeef0c7f3511ea4192f828ba934fc263432c2acdce /src/os/unix/ngx_process_cycle.c
parentb69d913c6ffec7a2509a23ce9da893c4d1242aca (diff)
worker processes did not exit after reconfiguration and
did not rotate logs if eventport was used
Diffstat (limited to 'src/os/unix/ngx_process_cycle.c')
-rw-r--r--src/os/unix/ngx_process_cycle.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/os/unix/ngx_process_cycle.c b/src/os/unix/ngx_process_cycle.c
index ec8368bf4..1b6a0804c 100644
--- a/src/os/unix/ngx_process_cycle.c
+++ b/src/os/unix/ngx_process_cycle.c
@@ -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;
}