diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2004-05-11 16:16:13 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2004-05-11 16:16:13 +0000 |
| commit | d365af4a15a86f4d3f2774b197ef417dbce8a164 (patch) | |
| tree | b7b7ef7a83d30d2e2f8ff474e4da825159281ddf /src/http | |
| parent | 11688f8a53743e41e807aae1179a6d552d87372e (diff) | |
| download | nginx-d365af4a15a86f4d3f2774b197ef417dbce8a164.tar.gz nginx-d365af4a15a86f4d3f2774b197ef417dbce8a164.tar.bz2 | |
nginx-0.0.3-2004-05-11-20:16:13 import
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_write_filter.c | 6 |
1 files changed, 4 insertions, 2 deletions
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; } |
