Mercurial > hg > nginx
changeset 1789:a35032212cf2
non-active request is not done
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 27 Dec 2007 14:20:50 +0000 |
parents | f10228d7ea06 |
children | 775edc46ee66 |
files | src/http/ngx_http_request.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_request.c Thu Dec 27 14:19:30 2007 +0000 +++ b/src/http/ngx_http_request.c Thu Dec 27 14:20:50 2007 +0000 @@ -1641,8 +1641,6 @@ } } - r->done = 1; - if (r != c->data) { ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0, "http finalize non-active request: \"%V?%V\"", @@ -1650,6 +1648,8 @@ return; } + r->done = 1; + if (r != r->main) { pr = r->parent;