From: Igor Sysoev Date: Wed, 1 Apr 2009 16:21:05 +0000 (+0000) Subject: r2464 merge: X-Git-Tag: release-0.6.36~11 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=794edbcaa55f08380b9f8d34e5d903aaec74bcf5;p=nginx.git r2464 merge: fix fastcgi_store --- 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