[nginx] svn commit: r4613 - trunk/src/http
vbart at nginx.com
vbart at nginx.com
Fri Apr 27 10:48:43 UTC 2012
Author: vbart
Date: 2012-04-27 10:48:42 +0000 (Fri, 27 Apr 2012)
New Revision: 4613
URL: http://trac.nginx.org/nginx/changeset/4613/nginx
Log:
Removed surplus condition.
Modified:
trunk/src/http/ngx_http_request.c
Modified: trunk/src/http/ngx_http_request.c
===================================================================
--- trunk/src/http/ngx_http_request.c 2012-04-26 13:06:27 UTC (rev 4612)
+++ trunk/src/http/ngx_http_request.c 2012-04-27 10:48:42 UTC (rev 4613)
@@ -2001,14 +2001,6 @@
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 @@
} 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) {
More information about the nginx-devel
mailing list