diff options
Diffstat (limited to 'src/http/ngx_http_write_filter.c')
-rw-r--r-- | src/http/ngx_http_write_filter.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/http/ngx_http_write_filter.c b/src/http/ngx_http_write_filter.c index 67f686267..50e8bc249 100644 --- a/src/http/ngx_http_write_filter.c +++ b/src/http/ngx_http_write_filter.c @@ -152,8 +152,7 @@ ngx_int_t ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *in) sent = c->sent; - chain = c->send_chain(c, ctx->out, - clcf->limit_rate ? clcf->limit_rate: OFF_T_MAX_VALUE); + chain = c->send_chain(c, ctx->out, clcf->limit_rate); ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, "http write filter %p", chain); |