mirror of
https://github.com/nginx/nginx.git
synced 2025-06-17 17:20:42 +08:00
Removed surplus condition.
This commit is contained in:
parent
eeec229e3e
commit
a0025f2d81
@ -2001,14 +2001,6 @@ ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if (NGX_DEBUG)
|
|
||||||
if (r != c->data) {
|
|
||||||
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0,
|
|
||||||
"http finalize non-active request: \"%V?%V\"",
|
|
||||||
&r->uri, &r->args);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
pr = r->parent;
|
pr = r->parent;
|
||||||
|
|
||||||
if (r == c->data) {
|
if (r == c->data) {
|
||||||
@ -2042,6 +2034,10 @@ ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc)
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0,
|
||||||
|
"http finalize non-active request: \"%V?%V\"",
|
||||||
|
&r->uri, &r->args);
|
||||||
|
|
||||||
r->write_event_handler = ngx_http_request_finalizer;
|
r->write_event_handler = ngx_http_request_finalizer;
|
||||||
|
|
||||||
if (r->waited) {
|
if (r->waited) {
|
||||||
|
Loading…
Reference in New Issue
Block a user