]> git.kaiwu.me - nginx.git/commit
Now if total size of all ranges is greater than source response size,
authorIgor Sysoev <igor@sysoev.ru>
Fri, 26 Aug 2011 09:42:50 +0000 (09:42 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 26 Aug 2011 09:42:50 +0000 (09:42 +0000)
commitc2c3e3105f159d4cc4162c7b855eb63a62e9fe4a
treed56a7ad8b1f25793d655a68584f50b1a45bfb712
parent8b2bf081653ae9b59da308b92b97e49c70bcc96c
Now if total size of all ranges is greater than source response size,
then nginx disables ranges and returns just the source response.
This fix should not affect well-behaving applications but will defeat
DoS attempts exploiting malicious byte ranges.
src/http/modules/ngx_http_range_filter_module.c