Klaus Demo nginx / ae2006b
a non-active client connection must not closed after send timeout Igor Sysoev 15 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
16991699 }
17001700 }
17011701
1702 if (downstream->write->active) {
1702 if (downstream->write->active && !downstream->write->ready) {
17031703 ngx_add_timer(downstream->write, clcf->send_timeout);
17041704
17051705 } else if (downstream->write->timer_set) {
17111711 return;
17121712 }
17131713
1714 if (upstream->read->active) {
1714 if (upstream->read->active && !upstream->read->ready) {
17151715 ngx_add_timer(upstream->read, u->conf->read_timeout);
17161716
17171717 } else if (upstream->read->timer_set) {