delete code that should be deleted in r1576

This commit is contained in:
Igor Sysoev 2007-10-16 17:51:47 +00:00
parent 80c94f260e
commit ac03c9c303

View File

@ -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;
}