summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2022-05-30 21:25:49 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2022-05-30 21:25:49 +0300
commitb8815c797a3e33ae1249886f9fa80b2188eadd0b (patch)
tree8d6977d66aa2966799ce728343e7e3ee0e421bc9 /src/http/ngx_http_upstream.h
parentd22157fade0c3dc05b860be8d7e3eff4a56cb7d3 (diff)
downloadnginx-b8815c797a3e33ae1249886f9fa80b2188eadd0b.tar.gz
nginx-b8815c797a3e33ae1249886f9fa80b2188eadd0b.tar.bz2
Upstream: duplicate headers ignored or properly linked.
Most of the known duplicate upstream response headers are now ignored with a warning. If syntax permits multiple headers, these are now properly linked to the lists, notably Vary and WWW-Authenticate. This makes it possible to further handle such lists where it makes sense.
Diffstat (limited to '')
-rw-r--r--src/http/ngx_http_upstream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h
index 1ccfb8f92..28d1cfbed 100644
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -280,6 +280,7 @@ typedef struct {
ngx_table_elt_t *last_modified;
ngx_table_elt_t *location;
+ ngx_table_elt_t *refresh;
ngx_table_elt_t *www_authenticate;
ngx_table_elt_t *transfer_encoding;
ngx_table_elt_t *vary;