comparison src/http/ngx_http_upstream.c @ 7199:6ba68ad8b24c

Basic support of the Link response header.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 08 Feb 2018 09:54:18 +0300
parents 0b72d545f098
children 20f139e9ffa8
comparison
equal deleted inserted replaced
7198:573f20116163 7199:6ba68ad8b24c
282 282
283 { ngx_string("Vary"), 283 { ngx_string("Vary"),
284 ngx_http_upstream_process_vary, 0, 284 ngx_http_upstream_process_vary, 0,
285 ngx_http_upstream_copy_header_line, 0, 0 }, 285 ngx_http_upstream_copy_header_line, 0, 0 },
286 286
287 { ngx_string("Link"),
288 ngx_http_upstream_ignore_header_line, 0,
289 ngx_http_upstream_copy_multi_header_lines,
290 offsetof(ngx_http_headers_out_t, link), 0 },
291
287 { ngx_string("X-Accel-Expires"), 292 { ngx_string("X-Accel-Expires"),
288 ngx_http_upstream_process_accel_expires, 0, 293 ngx_http_upstream_process_accel_expires, 0,
289 ngx_http_upstream_copy_header_line, 0, 0 }, 294 ngx_http_upstream_copy_header_line, 0, 0 },
290 295
291 { ngx_string("X-Accel-Redirect"), 296 { ngx_string("X-Accel-Redirect"),