From ac03c9c303e4b9ace68de46b143f5f9544ae610d Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 16 Oct 2007 17:51:47 +0000 Subject: [PATCH] delete code that should be deleted in r1576 --- src/os/unix/ngx_process_cycle.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/os/unix/ngx_process_cycle.c b/src/os/unix/ngx_process_cycle.c index f95d6e9a5..7d7ef79e5 100644 --- a/src/os/unix/ngx_process_cycle.c +++ b/src/os/unix/ngx_process_cycle.c @@ -1053,17 +1053,7 @@ ngx_channel_handler(ngx_event_t *ev) 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; }