Mercurial > hg > nginx
diff src/http/ngx_http_write_filter.c @ 333:be40e9893a19
nginx-0.0.3-2004-05-11-20:16:13 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 11 May 2004 16:16:13 +0000 |
parents | 159dd60d257a |
children | 6bdf858bff8c |
line wrap: on
line diff
--- 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_reque } 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; }