Mercurial > hg > nginx-vendor-0-5
comparison src/http/ngx_http_upstream.c @ 314:8f0416b14242 NGINX_0_5_27
nginx 0.5.27
*) Bugfix: if remote SSI subrequest was used, then posterior local file
subrequest might transferred to client in wrong order.
*) Bugfix: large SSI inclusions buffered in temporary files were
truncated.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 09 Jul 2007 00:00:00 +0400 |
parents | 95d92ec39071 |
children | 1e9e2c5e7c14 |
comparison
equal
deleted
inserted
replaced
313:1708cc3ec3be | 314:8f0416b14242 |
---|---|
2155 return; | 2155 return; |
2156 } | 2156 } |
2157 | 2157 |
2158 r->connection->log->action = "sending to client"; | 2158 r->connection->log->action = "sending to client"; |
2159 | 2159 |
2160 if (rc == 0 && r == r->main && !r->post_action) { | 2160 if (rc == 0) { |
2161 rc = ngx_http_send_special(r, NGX_HTTP_LAST); | 2161 if (r == r->main) { |
2162 if (!r->post_action) { | |
2163 rc = ngx_http_send_special(r, NGX_HTTP_LAST); | |
2164 } | |
2165 | |
2166 } else { | |
2167 if (r->out) { | |
2168 rc = NGX_AGAIN; | |
2169 } | |
2170 } | |
2162 } | 2171 } |
2163 | 2172 |
2164 ngx_http_finalize_request(r, rc); | 2173 ngx_http_finalize_request(r, rc); |
2165 } | 2174 } |
2166 | 2175 |