diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-04-01 16:21:05 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-04-01 16:21:05 +0000 |
| commit | 794edbcaa55f08380b9f8d34e5d903aaec74bcf5 (patch) | |
| tree | 5146386599888cf16d4396e3f703bb5439f579e6 | |
| parent | 341710a1102f4d8a45fba16fb40ee47c370647b3 (diff) | |
| download | nginx-794edbcaa55f08380b9f8d34e5d903aaec74bcf5.tar.gz nginx-794edbcaa55f08380b9f8d34e5d903aaec74bcf5.tar.bz2 | |
r2464 merge:
fix fastcgi_store
| -rw-r--r-- | src/http/ngx_http_upstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
