r2464 merge:

fix fastcgi_store
This commit is contained in:
Igor Sysoev 2009-04-01 16:21:05 +00:00
parent a730ec4a34
commit a8952fb3d7
1 changed files with 1 additions and 1 deletions

View File

@ -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