comparison src/http/ngx_http_core_module.h @ 4062:82738a316a54

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.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 31 Aug 2011 09:40:55 +0000
parents 3e51832c8215
children 1a94a56a4e5d
comparison
equal deleted inserted replaced
4061:bd2ec6ce5d58 4062:82738a316a54
361 ngx_uint_t keepalive_requests; /* keepalive_requests */ 361 ngx_uint_t keepalive_requests; /* keepalive_requests */
362 ngx_uint_t keepalive_disable; /* keepalive_disable */ 362 ngx_uint_t keepalive_disable; /* keepalive_disable */
363 ngx_uint_t satisfy; /* satisfy */ 363 ngx_uint_t satisfy; /* satisfy */
364 ngx_uint_t lingering_close; /* lingering_close */ 364 ngx_uint_t lingering_close; /* lingering_close */
365 ngx_uint_t if_modified_since; /* if_modified_since */ 365 ngx_uint_t if_modified_since; /* if_modified_since */
366 ngx_uint_t max_ranges; /* max_ranges */
366 ngx_uint_t client_body_in_file_only; /* client_body_in_file_only */ 367 ngx_uint_t client_body_in_file_only; /* client_body_in_file_only */
367 368
368 ngx_flag_t client_body_in_single_buffer; 369 ngx_flag_t client_body_in_single_buffer;
369 /* client_body_in_singe_buffer */ 370 /* client_body_in_singe_buffer */
370 ngx_flag_t internal; /* internal */ 371 ngx_flag_t internal; /* internal */