comparison src/http/ngx_http_request.c @ 4612:c42553296af1

Removed surplus condition.
author Valentin Bartenev <vbart@nginx.com>
date Fri, 27 Apr 2012 10:48:42 +0000
parents 7d0561b2e0fb
children 204b780a89de 0bb016b1fd2d
comparison
equal deleted inserted replaced
4611:2b6cb7528409 4612:c42553296af1
1999 } 1999 }
2000 2000
2001 return; 2001 return;
2002 } 2002 }
2003 2003
2004 #if (NGX_DEBUG)
2005 if (r != c->data) {
2006 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0,
2007 "http finalize non-active request: \"%V?%V\"",
2008 &r->uri, &r->args);
2009 }
2010 #endif
2011
2012 pr = r->parent; 2004 pr = r->parent;
2013 2005
2014 if (r == c->data) { 2006 if (r == c->data) {
2015 2007
2016 r->main->count--; 2008 r->main->count--;
2039 } 2031 }
2040 2032
2041 c->data = pr; 2033 c->data = pr;
2042 2034
2043 } else { 2035 } else {
2036
2037 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0,
2038 "http finalize non-active request: \"%V?%V\"",
2039 &r->uri, &r->args);
2044 2040
2045 r->write_event_handler = ngx_http_request_finalizer; 2041 r->write_event_handler = ngx_http_request_finalizer;
2046 2042
2047 if (r->waited) { 2043 if (r->waited) {
2048 r->done = 1; 2044 r->done = 1;