]> git.kaiwu.me - nginx.git/commitdiff
fix fastcgi_store
authorIgor Sysoev <igor@sysoev.ru>
Wed, 21 Jan 2009 20:54:40 +0000 (20:54 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 21 Jan 2009 20:54:40 +0000 (20:54 +0000)
src/http/ngx_http_upstream.c

index c6d32877cd9599597d142a742741487ba9e67f7c..6ed7c8f1c15bfccaddec8be270c0df8a3f80954b 100644 (file)
@@ -2217,7 +2217,7 @@ ngx_http_upstream_process_request(ngx_http_request_t *r)
 
             tf = u->pipe->temp_file;
 
-            if (p->upstream_eof) {
+            if (p->upstream_eof || p->upstream_done) {
 
                 if (u->headers_in.status_n == NGX_HTTP_OK
                     && (u->headers_in.content_length_n == -1