comparison src/http/ngx_http_request.c @ 1789:a35032212cf2

non-active request is not done
author Igor Sysoev <igor@sysoev.ru>
date Thu, 27 Dec 2007 14:20:50 +0000
parents cfb879757a43
children d62a7b91ed35
comparison
equal deleted inserted replaced
1788:f10228d7ea06 1789:a35032212cf2
1639 if (ngx_http_set_write_handler(r) != NGX_OK) { 1639 if (ngx_http_set_write_handler(r) != NGX_OK) {
1640 return; 1640 return;
1641 } 1641 }
1642 } 1642 }
1643 1643
1644 r->done = 1;
1645
1646 if (r != c->data) { 1644 if (r != c->data) {
1647 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0, 1645 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0,
1648 "http finalize non-active request: \"%V?%V\"", 1646 "http finalize non-active request: \"%V?%V\"",
1649 &r->uri, &r->args); 1647 &r->uri, &r->args);
1650 return; 1648 return;
1651 } 1649 }
1650
1651 r->done = 1;
1652 1652
1653 if (r != r->main) { 1653 if (r != r->main) {
1654 1654
1655 pr = r->parent; 1655 pr = r->parent;
1656 1656