Mercurial > hg > nginx
diff src/os/unix/ngx_process_cycle.c @ 357:e260514b9ad4
nginx-0.0.7-2004-06-16-23:36:07 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 16 Jun 2004 19:36:07 +0000 |
parents | 0fb6c53fb135 |
children | 239e37d44a34 |
line wrap: on
line diff
--- 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_even 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: