comparison src/http/ngx_http_request.c @ 3050:f54b02dbb12b

axe r->connection->destroyed testing
author Igor Sysoev <igor@sysoev.ru>
date Wed, 26 Aug 2009 16:14:57 +0000
parents 67254117b774
children 26dfc0fa22c8
comparison
equal deleted inserted replaced
3049:67254117b774 3050:f54b02dbb12b
2002 if (c->write->timer_set) { 2002 if (c->write->timer_set) {
2003 c->write->delayed = 0; 2003 c->write->delayed = 0;
2004 ngx_del_timer(c->write); 2004 ngx_del_timer(c->write);
2005 } 2005 }
2006 2006
2007 if (c->destroyed) {
2008 return;
2009 }
2010
2011 if (c->read->eof) { 2007 if (c->read->eof) {
2012 ngx_http_close_request(r, 0); 2008 ngx_http_close_request(r, 0);
2013 return; 2009 return;
2014 } 2010 }
2015 2011
2176 return; 2172 return;
2177 } 2173 }
2178 } 2174 }
2179 2175
2180 rc = ngx_http_output_filter(r, NULL); 2176 rc = ngx_http_output_filter(r, NULL);
2181
2182 if (c->destroyed) {
2183 return;
2184 }
2185 2177
2186 ngx_log_debug3(NGX_LOG_DEBUG_HTTP, c->log, 0, 2178 ngx_log_debug3(NGX_LOG_DEBUG_HTTP, c->log, 0,
2187 "http writer output filter: %d, \"%V?%V\"", 2179 "http writer output filter: %d, \"%V?%V\"",
2188 rc, &r->uri, &r->args); 2180 rc, &r->uri, &r->args);
2189 2181