diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-06-16 19:36:07 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-06-16 19:36:07 +0000 |
commit | f924e6b694db7fd1d99473b3d7db7eb2b49c9e62 (patch) | |
tree | 3d4f3d62c05871dc6907620aa3653f73d3de9404 /src/os/unix/ngx_process_cycle.c | |
parent | 2f65722941903cfb5b4819bbf32b61ed1d330749 (diff) | |
download | nginx-f924e6b694db7fd1d99473b3d7db7eb2b49c9e62.tar.gz nginx-f924e6b694db7fd1d99473b3d7db7eb2b49c9e62.zip |
nginx-0.0.7-2004-06-16-23:36:07 import
Diffstat (limited to 'src/os/unix/ngx_process_cycle.c')
-rw-r--r-- | src/os/unix/ngx_process_cycle.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/os/unix/ngx_process_cycle.c b/src/os/unix/ngx_process_cycle.c index 262b769a4..5e230d954 100644 --- a/src/os/unix/ngx_process_cycle.c +++ b/src/os/unix/ngx_process_cycle.c @@ -655,12 +655,19 @@ static void ngx_channel_handler(ngx_event_t *ev) c = ev->data; + ngx_log_debug0(NGX_LOG_DEBUG_CORE, ev->log, 0, "channel handler"); + n = ngx_read_channel(c->fd, &ch, sizeof(ngx_channel_t), ev->log); + ngx_log_debug1(NGX_LOG_DEBUG_CORE, ev->log, 0, "channel: %d", n); + if (n <= 0) { return; } + ngx_log_debug1(NGX_LOG_DEBUG_CORE, ev->log, 0, + "channel command: %d", ch.command); + switch (ch.command) { case NGX_CMD_QUIT: |