summaryrefslogtreecommitdiffhomepage
path: root/src/http
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-05-11 16:16:13 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-05-11 16:16:13 +0000
commitd365af4a15a86f4d3f2774b197ef417dbce8a164 (patch)
treeb7b7ef7a83d30d2e2f8ff474e4da825159281ddf /src/http
parent11688f8a53743e41e807aae1179a6d552d87372e (diff)
downloadnginx-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.c6
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;
}