Mercurial > hg > nginx
changeset 1577:8009c3ad39a9
delete code that should be deleted in r1576
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 16 Oct 2007 17:51:47 +0000 |
parents | 5cd655d5d2fa |
children | 981de6e0735d |
files | src/os/unix/ngx_process_cycle.c |
diffstat | 1 files changed, 0 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os/unix/ngx_process_cycle.c Tue Oct 16 14:14:30 2007 +0000 +++ b/src/os/unix/ngx_process_cycle.c Tue Oct 16 17:51:47 2007 +0000 @@ -1053,17 +1053,7 @@ ngx_log_debug1(NGX_LOG_DEBUG_CORE, ev->log, 0, "channel: %i", n); if (n == NGX_ERROR) { - ngx_close_connection(c); - - fd = c->fd; - c->fd = (ngx_socket_t) -1; - - if (close(fd) == -1) { - ngx_log_error(NGX_LOG_ALERT, ev->log, ngx_errno, - "close() channel failed"); - } - return; }