Mercurial > hg > nginx-quic
diff src/http/ngx_http_output_filter.c @ 327:e0f3f238db09
nginx-0.0.3-2004-04-26-17:40:01 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 26 Apr 2004 13:40:01 +0000 |
parents | 8733703a37f3 |
children |
line wrap: on
line diff
--- a/src/http/ngx_http_output_filter.c +++ b/src/http/ngx_http_output_filter.c @@ -58,6 +58,10 @@ ngx_int_t ngx_http_output_filter(ngx_htt ngx_output_chain_ctx_t *ctx; ngx_http_output_filter_conf_t *conf; + if (r->connection->write->error) { + return NGX_ERROR; + } + ctx = ngx_http_get_module_ctx(r->main ? r->main : r, ngx_http_output_filter_module);