aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-08-31 09:40:55 +0000
committerIgor Sysoev <igor@sysoev.ru>2011-08-31 09:40:55 +0000
commitf560419c541b9bcc8d320cb866f0e46477f79b52 (patch)
tree793bde7b19ce60fdc5170fdc63b335c77f13cfd5 /src/http/ngx_http_core_module.h
parente81c293289327812329b5b08668db6f848f6c4ec (diff)
downloadnginx-f560419c541b9bcc8d320cb866f0e46477f79b52.tar.gz
nginx-f560419c541b9bcc8d320cb866f0e46477f79b52.zip
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.
Diffstat (limited to 'src/http/ngx_http_core_module.h')
-rw-r--r--src/http/ngx_http_core_module.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h
index 165e7c051..df20b5d3a 100644
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -363,6 +363,7 @@ struct ngx_http_core_loc_conf_s {
ngx_uint_t satisfy; /* satisfy */
ngx_uint_t lingering_close; /* lingering_close */
ngx_uint_t if_modified_since; /* if_modified_since */
+ ngx_uint_t max_ranges; /* max_ranges */
ngx_uint_t client_body_in_file_only; /* client_body_in_file_only */
ngx_flag_t client_body_in_single_buffer;