comparison src/http/ngx_http_request.h @ 7070:f583559aadc7

Upstream: keep request body file from removal if requested. The new request flag "preserve_body" indicates that the request body file should not be removed by the upstream module because it may be used later by a subrequest. The flag is set by the SSI (ticket #585), addition and slice modules. Additionally, it is also set by the upstream module when a background cache update subrequest is started to prevent the request body file removal after an internal redirect. Only the main request is now allowed to remove the file.
author Roman Arutyunyan <arut@nginx.com>
date Wed, 19 Jul 2017 20:38:17 +0300
parents 1b068a4e82d8
children 6ba68ad8b24c
comparison
equal deleted inserted replaced
7069:863b862534d7 7070:f583559aadc7
535 unsigned buffered:4; 535 unsigned buffered:4;
536 536
537 unsigned main_filter_need_in_memory:1; 537 unsigned main_filter_need_in_memory:1;
538 unsigned filter_need_in_memory:1; 538 unsigned filter_need_in_memory:1;
539 unsigned filter_need_temporary:1; 539 unsigned filter_need_temporary:1;
540 unsigned preserve_body:1;
540 unsigned allow_ranges:1; 541 unsigned allow_ranges:1;
541 unsigned subrequest_ranges:1; 542 unsigned subrequest_ranges:1;
542 unsigned single_range:1; 543 unsigned single_range:1;
543 unsigned disable_not_modified:1; 544 unsigned disable_not_modified:1;
544 unsigned stat_reading:1; 545 unsigned stat_reading:1;