diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-12-27 14:39:05 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-12-27 14:39:05 +0000 |
commit | a936b27236e9ae23cfe44be48352ca59e206b0d2 (patch) | |
tree | 9690e8d49d60c5b70d62ed00acf45d29f243a10b /src/http/ngx_http_request.c | |
parent | c16b005f30e391ff675f3837d1637377a5e4f5e7 (diff) | |
download | nginx-a936b27236e9ae23cfe44be48352ca59e206b0d2.tar.gz nginx-a936b27236e9ae23cfe44be48352ca59e206b0d2.zip |
backout r1790
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 4 |
1 files 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; |