From 61523817d5a27685788122f91c747f7881c52494 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 27 Dec 2007 14:39:05 +0000 Subject: [PATCH] backout r1790 --- src/http/ngx_http_request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 016c54298..a5ebf1292 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -1641,6 +1641,8 @@ ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc) } } + 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 @@ ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc) return; } - r->done = 1; - if (r != r->main) { pr = r->parent;