mirror of
https://github.com/nginx/nginx.git
synced 2026-08-28 04:39:05 +00:00
delete code that should be deleted in r1576
This commit is contained in:
parent
80c94f260e
commit
ac03c9c303
1 changed files with 0 additions and 10 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue