comparison src/http/ngx_http_upstream.c @ 6316:f44de0d12143

Upstream: fill r->headers_out.content_range from upstream response.
author Roman Arutyunyan <arut@nginx.com>
date Mon, 07 Dec 2015 16:30:47 +0300
parents be3aed17689c
children 705c356ce664
comparison
equal deleted inserted replaced
6315:cb31017e961b 6316:f44de0d12143
248 ngx_http_upstream_process_header_line, 248 ngx_http_upstream_process_header_line,
249 offsetof(ngx_http_upstream_headers_in_t, accept_ranges), 249 offsetof(ngx_http_upstream_headers_in_t, accept_ranges),
250 ngx_http_upstream_copy_allow_ranges, 250 ngx_http_upstream_copy_allow_ranges,
251 offsetof(ngx_http_headers_out_t, accept_ranges), 1 }, 251 offsetof(ngx_http_headers_out_t, accept_ranges), 1 },
252 252
253 { ngx_string("Content-Range"),
254 ngx_http_upstream_ignore_header_line, 0,
255 ngx_http_upstream_copy_header_line,
256 offsetof(ngx_http_headers_out_t, content_range), 0 },
257
253 { ngx_string("Connection"), 258 { ngx_string("Connection"),
254 ngx_http_upstream_process_connection, 0, 259 ngx_http_upstream_process_connection, 0,
255 ngx_http_upstream_ignore_header_line, 0, 0 }, 260 ngx_http_upstream_ignore_header_line, 0, 0 },
256 261
257 { ngx_string("Keep-Alive"), 262 { ngx_string("Keep-Alive"),