From 794edbcaa55f08380b9f8d34e5d903aaec74bcf5 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 1 Apr 2009 16:21:05 +0000 Subject: r2464 merge: fix fastcgi_store --- src/http/ngx_http_upstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 6eee8832e..0f9700967 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -2059,7 +2059,7 @@ ngx_http_upstream_process_body(ngx_event_t *ev) 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