From d365af4a15a86f4d3f2774b197ef417dbce8a164 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 11 May 2004 16:16:13 +0000 Subject: nginx-0.0.3-2004-05-11-20:16:13 import --- src/http/ngx_http_write_filter.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/http') diff --git a/src/http/ngx_http_write_filter.c b/src/http/ngx_http_write_filter.c index 05675374d..1728c6459 100644 --- a/src/http/ngx_http_write_filter.c +++ b/src/http/ngx_http_write_filter.c @@ -143,8 +143,10 @@ int ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *in) } if (size == 0) { - ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, - "the http output chain is empty"); + if (!last) { + ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, + "the http output chain is empty"); + } return NGX_OK; } -- cgit