]> git.kaiwu.me - nginx.git/commit
Upstream: trailers support, u->conf->pass_trailers flag.
authorMaxim Dounin <mdounin@mdounin.ru>
Sat, 17 Mar 2018 20:04:21 +0000 (23:04 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Sat, 17 Mar 2018 20:04:21 +0000 (23:04 +0300)
commit7ef115a7e864573478e3f88d6a4ef689a1b73b92
tree47dcf313d7d2ac63ff2cda3a134b6f0068b90e8b
parentc554dd1434e1378ac5f83a97b6d250b772941498
Upstream: trailers support, u->conf->pass_trailers flag.

Basic trailer headers support allows one to access response trailers
via the $upstream_trailer_* variables.

Additionally, the u->conf->pass_trailers flag was introduced.  When the
flag is set, trailer headers from the upstream response are passed to
the client.  Like normal headers, trailer headers will be hidden
if present in u->conf->hide_headers_hash.
src/http/ngx_http_upstream.c
src/http/ngx_http_upstream.h