comparison src/http/ngx_http_upstream.c @ 1468:491e5059ea19

read EOF of header only responses in non-buffered proxying
author Igor Sysoev <igor@sysoev.ru>
date Sun, 09 Sep 2007 18:32:53 +0000
parents 6c25a49e548a
children 0a269c464eaf
comparison
equal deleted inserted replaced
1467:e5352b711c47 1468:491e5059ea19
1488 1488
1489 if (ngx_http_send_special(r, NGX_HTTP_FLUSH) == NGX_ERROR) { 1489 if (ngx_http_send_special(r, NGX_HTTP_FLUSH) == NGX_ERROR) {
1490 ngx_http_upstream_finalize_request(r, u, 0); 1490 ngx_http_upstream_finalize_request(r, u, 0);
1491 return; 1491 return;
1492 } 1492 }
1493
1494 if (u->peer.connection->read->ready) {
1495 ngx_http_upstream_process_non_buffered_body(
1496 u->peer.connection->read);
1497 }
1493 } 1498 }
1494 1499
1495 return; 1500 return;
1496 } 1501 }
1497 1502