backout r1790
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 016c542..a5ebf12 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c
@@ -1641,6 +1641,8 @@ } } + r->done = 1; + if (r != c->data) { ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0, "http finalize non-active request: \"%V?%V\"", @@ -1648,8 +1650,6 @@ return; } - r->done = 1; - if (r != r->main) { pr = r->parent;