diff options
Diffstat (limited to 'src/http/ngx_http_write_filter.c')
-rw-r--r-- | src/http/ngx_http_write_filter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_write_filter.c b/src/http/ngx_http_write_filter.c index a8c68947f..37e0f3fab 100644 --- a/src/http/ngx_http_write_filter.c +++ b/src/http/ngx_http_write_filter.c @@ -125,6 +125,7 @@ ngx_int_t ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *in) if (!last) { ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, "the http output chain is empty"); + return NGX_ERROR; } return NGX_OK; } |