aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-08-26 16:14:57 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-08-26 16:14:57 +0000
commit5297d456d82a17b2511624d96c9518fcc61ba44f (patch)
tree57d55b36b8f5efa87ea315ce56503aa486e96bf1 /src/http/ngx_http_core_module.c
parentb603dd4b43b8c4b2cf8a1e74a87fd5799ab537b6 (diff)
downloadnginx-5297d456d82a17b2511624d96c9518fcc61ba44f.tar.gz
nginx-5297d456d82a17b2511624d96c9518fcc61ba44f.zip
axe r->connection->destroyed testing
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 988d8f0e8..7b47fbb61 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -1685,11 +1685,6 @@ ngx_http_output_filter(ngx_http_request_t *r, ngx_chain_t *in)
rc = ngx_http_top_body_filter(r, in);
if (rc == NGX_ERROR) {
-
- if (c->destroyed) {
- return NGX_DONE;
- }
-
/* NGX_ERROR may be returned by any filter */
c->error = 1;
}