]> git.kaiwu.me - nginx.git/commit
The "max_ranges" directive.
authorIgor Sysoev <igor@sysoev.ru>
Wed, 31 Aug 2011 09:40:55 +0000 (09:40 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 31 Aug 2011 09:40:55 +0000 (09:40 +0000)
commitf560419c541b9bcc8d320cb866f0e46477f79b52
tree793bde7b19ce60fdc5170fdc63b335c77f13cfd5
parente81c293289327812329b5b08668db6f848f6c4ec
The "max_ranges" directive.

"max_ranges 0" disables ranges support at all,
"max_ranges 1" allows the single range, etc.
By default number of ranges is unlimited, to be precise, 2^31-1.
src/http/modules/ngx_http_range_filter_module.c
src/http/ngx_http_core_module.c
src/http/ngx_http_core_module.h