diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-10-16 21:51:47 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-10-16 21:51:47 +0400 |
commit | ac03c9c303e4b9ace68de46b143f5f9544ae610d (patch) | |
tree | cdd7e5c5d191d16f4e686101cd2f97d9075a2cae /src | |
parent | 80c94f260eda858a061baeec03608e1bbc77675e (diff) |
delete code that should be deleted in r1576
Diffstat (limited to 'src')
-rw-r--r-- | src/os/unix/ngx_process_cycle.c | 10 |
1 files changed, 0 insertions, 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; } |