From 7a86f07057c9ba2c25301211605a5e93394ff504 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 21 Jan 2009 20:54:40 +0000 Subject: fix fastcgi_store --- src/http/ngx_http_upstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index c6d32877c..6ed7c8f1c 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -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 -- cgit