From: Igor Sysoev Date: Wed, 21 Jan 2009 20:54:40 +0000 (+0000) Subject: fix fastcgi_store X-Git-Tag: release-0.7.32~6 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=7a86f07057c9ba2c25301211605a5e93394ff504;p=nginx.git fix fastcgi_store --- 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