comparison src/http/ngx_http_upstream.c @ 449:6281966854a5 NGINX_0_7_32

nginx 0.7.32 *) Feature: now a directory existence testing can be set explicitly in the "try_files" directive. *) Bugfix: fastcgi_store stored files not always. *) Bugfix: in geo ranges. *) Bugfix: in shared memory allocations if nginx was built without debugging. Thanks to Andrey Kvasov.
author Igor Sysoev <http://sysoev.ru>
date Mon, 26 Jan 2009 00:00:00 +0300
parents ce4f9ff90bfa
children a8424ffa495c
comparison
equal deleted inserted replaced
448:02687ee42c28 449:6281966854a5
2215 2215
2216 del = p->upstream_error; 2216 del = p->upstream_error;
2217 2217
2218 tf = u->pipe->temp_file; 2218 tf = u->pipe->temp_file;
2219 2219
2220 if (p->upstream_eof) { 2220 if (p->upstream_eof || p->upstream_done) {
2221 2221
2222 if (u->headers_in.status_n == NGX_HTTP_OK 2222 if (u->headers_in.status_n == NGX_HTTP_OK
2223 && (u->headers_in.content_length_n == -1 2223 && (u->headers_in.content_length_n == -1
2224 || (u->headers_in.content_length_n == tf->offset))) 2224 || (u->headers_in.content_length_n == tf->offset)))
2225 { 2225 {