mirror of
https://github.com/nginx/nginx.git
synced 2025-06-17 01:01:28 +08:00
non-active request is not done
This commit is contained in:
parent
5a40e9518e
commit
3d70581d45
@ -1641,8 +1641,6 @@ 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\"",
|
||||||
@ -1650,6 +1648,8 @@ 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user