mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 06:03:31 -06:00
delete code that should be deleted in r1576
This commit is contained in:
parent
80c94f260e
commit
ac03c9c303
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user