Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.c @ 1527:95e76183ec4f stable-0.5
r1469 merge:
read EOF of header only responses in non-buffered proxying
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 23 Sep 2007 19:21:45 +0000 |
parents | d450e57ea5a4 |
children | 4699bab788c0 |
comparison
equal
deleted
inserted
replaced
1526:85e12fc61211 | 1527:95e76183ec4f |
---|---|
1486 | 1486 |
1487 if (ngx_http_send_special(r, NGX_HTTP_FLUSH) == NGX_ERROR) { | 1487 if (ngx_http_send_special(r, NGX_HTTP_FLUSH) == NGX_ERROR) { |
1488 ngx_http_upstream_finalize_request(r, u, 0); | 1488 ngx_http_upstream_finalize_request(r, u, 0); |
1489 return; | 1489 return; |
1490 } | 1490 } |
1491 | |
1492 if (u->peer.connection->read->ready) { | |
1493 ngx_http_upstream_process_non_buffered_body( | |
1494 u->peer.connection->read); | |
1495 } | |
1491 } | 1496 } |
1492 | 1497 |
1493 return; | 1498 return; |
1494 } | 1499 } |
1495 | 1500 |