comparison src/http/ngx_http_core_module.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 6060225e9261
comparison
equal deleted inserted replaced
3049:67254117b774 3050:f54b02dbb12b
1683 "http output filter \"%V?%V\"", &r->uri, &r->args); 1683 "http output filter \"%V?%V\"", &r->uri, &r->args);
1684 1684
1685 rc = ngx_http_top_body_filter(r, in); 1685 rc = ngx_http_top_body_filter(r, in);
1686 1686
1687 if (rc == NGX_ERROR) { 1687 if (rc == NGX_ERROR) {
1688
1689 if (c->destroyed) {
1690 return NGX_DONE;
1691 }
1692
1693 /* NGX_ERROR may be returned by any filter */ 1688 /* NGX_ERROR may be returned by any filter */
1694 c->error = 1; 1689 c->error = 1;
1695 } 1690 }
1696 1691
1697 return rc; 1692 return rc;