Latest update - 7505
This commit is contained in:
@@ -2979,6 +2979,7 @@ ngx_http_upstream_send_response(ngx_http_request_t *r, ngx_http_upstream_t *u)
|
||||
ngx_http_upstream_process_non_buffered_downstream;
|
||||
|
||||
r->limit_rate = 0;
|
||||
r->limit_rate_set = 1;
|
||||
|
||||
if (u->input_filter_init(u->input_filter_ctx) == NGX_ERROR) {
|
||||
ngx_http_upstream_finalize_request(r, u, NGX_ERROR);
|
||||
@@ -4806,6 +4807,7 @@ ngx_http_upstream_process_limit_rate(ngx_http_request_t *r, ngx_table_elt_t *h,
|
||||
|
||||
if (n != NGX_ERROR) {
|
||||
r->limit_rate = (size_t) n;
|
||||
r->limit_rate_set = 1;
|
||||
}
|
||||
|
||||
return NGX_OK;
|
||||
|
||||
Reference in New Issue
Block a user