backout r1790

This commit is contained in:
Igor Sysoev 2007-12-27 14:39:05 +00:00
parent f6630df22b
commit 61523817d5

View file

@ -1641,6 +1641,8 @@ ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc)
} }
} }
r->done = 1;
if (r != c->data) { if (r != c->data) {
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0, ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0,
"http finalize non-active request: \"%V?%V\"", "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; return;
} }
r->done = 1;
if (r != r->main) { if (r != r->main) {
pr = r->parent; pr = r->parent;