mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
fix the previous commit
This commit is contained in:
parent
0e8fc7a6b4
commit
818700cfcf
1 changed files with 4 additions and 1 deletions
|
|
@ -471,7 +471,10 @@ ngx_http_range_body_filter(ngx_http_request_t *r, ngx_chain_t *in)
|
|||
ngx_http_range_t *range;
|
||||
ngx_http_range_filter_ctx_t *ctx;
|
||||
|
||||
if (in == NULL || r->headers_out.ranges.nelts == 0) {
|
||||
if (in == NULL
|
||||
|| r->headers_out.ranges.nelts == 0
|
||||
|| ngx_buf_special(in->buf))
|
||||
{
|
||||
return ngx_http_next_body_filter(r, in);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue