comparison src/http/ngx_http_upstream.c @ 2463:4bc8ea10d62b

fix fastcgi_store
author Igor Sysoev <igor@sysoev.ru>
date Wed, 21 Jan 2009 20:54:40 +0000
parents 3c6af1fb7586
children a6d6d762c554
comparison
equal deleted inserted replaced
2462:90d5ddfedbb1 2463:4bc8ea10d62b
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 {