aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2012-04-27 10:48:42 +0000
committerValentin Bartenev <vbart@nginx.com>2012-04-27 10:48:42 +0000
commita0025f2d81fb4e8974534cee130233f9cd8f7929 (patch)
treefcfcfc182a4ba6721fbca77d624e101af2e05f2e /src/http/ngx_http_request.c
parenteeec229e3e5c1278dd98d48d96cd6d7063da3974 (diff)
downloadnginx-a0025f2d81fb4e8974534cee130233f9cd8f7929.tar.gz
nginx-a0025f2d81fb4e8974534cee130233f9cd8f7929.zip
Removed surplus condition.
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 052f379ac..59d4d4ae6 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -2001,14 +2001,6 @@ ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc)
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;
if (r == c->data) {
@@ -2042,6 +2034,10 @@ ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc)
} 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;
if (r->waited) {