Klaus Demo nginx / bb7c841
avoid endless loop if epoll is used Igor Sysoev 14 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
10581058 ngx_log_debug1(NGX_LOG_DEBUG_CORE, ev->log, 0, "channel: %i", n);
10591059
10601060 if (n == NGX_ERROR) {
1061
1062 if (ngx_event_flags & NGX_USE_EPOLL_EVENT) {
1063 ngx_del_conn(c, 0);
1064 }
1065
10611066 ngx_close_connection(c);
10621067 return;
10631068 }