comparison src/http/ngx_http_upstream.c @ 2645:2baa184412b8 stable-0.6

r2464 merge: fix fastcgi_store
author Igor Sysoev <igor@sysoev.ru>
date Wed, 01 Apr 2009 16:21:05 +0000
parents 002f6fd88177
children
comparison
equal deleted inserted replaced
2644:2682d042328d 2645:2baa184412b8
2057 2057
2058 del = p->upstream_error; 2058 del = p->upstream_error;
2059 2059
2060 tf = u->pipe->temp_file; 2060 tf = u->pipe->temp_file;
2061 2061
2062 if (p->upstream_eof) { 2062 if (p->upstream_eof || p->upstream_done) {
2063 2063
2064 if (u->headers_in.status_n == NGX_HTTP_OK 2064 if (u->headers_in.status_n == NGX_HTTP_OK
2065 && (u->headers_in.content_length_n == -1 2065 && (u->headers_in.content_length_n == -1
2066 || (u->headers_in.content_length_n == tf->offset))) 2066 || (u->headers_in.content_length_n == tf->offset)))
2067 { 2067 {