Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.c @ 8030:cdc2724858ca
Upstream: simplified Accept-Ranges handling.
The u->headers_in.accept_ranges field is not used anywhere and hence removed.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 30 May 2022 21:25:43 +0300 |
parents | e0027c8438b0 |
children | d26db4f82d7d |
comparison
equal
deleted
inserted
replaced
8029:e0027c8438b0 | 8030:cdc2724858ca |
---|---|
257 ngx_http_upstream_process_expires, 0, | 257 ngx_http_upstream_process_expires, 0, |
258 ngx_http_upstream_copy_header_line, | 258 ngx_http_upstream_copy_header_line, |
259 offsetof(ngx_http_headers_out_t, expires), 1 }, | 259 offsetof(ngx_http_headers_out_t, expires), 1 }, |
260 | 260 |
261 { ngx_string("Accept-Ranges"), | 261 { ngx_string("Accept-Ranges"), |
262 ngx_http_upstream_process_header_line, | 262 ngx_http_upstream_ignore_header_line, 0, |
263 offsetof(ngx_http_upstream_headers_in_t, accept_ranges), | |
264 ngx_http_upstream_copy_allow_ranges, | 263 ngx_http_upstream_copy_allow_ranges, |
265 offsetof(ngx_http_headers_out_t, accept_ranges), 1 }, | 264 offsetof(ngx_http_headers_out_t, accept_ranges), 1 }, |
266 | 265 |
267 { ngx_string("Content-Range"), | 266 { ngx_string("Content-Range"), |
268 ngx_http_upstream_ignore_header_line, 0, | 267 ngx_http_upstream_ignore_header_line, 0, |