summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.h
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2024-09-10 16:48:11 +0400
committerRoman Arutyunyan <arutyunyan.roman@gmail.com>2024-09-13 16:47:56 +0400
commit1a64c196a7d43f83a14fec20ce8936e599c92865 (patch)
tree4a04dac2ff955f43e9795ebb152fbc4055a6aacf /src/http/ngx_http_upstream.h
parent00637cce366f17b78fe1ed5c1ef0e534143045f6 (diff)
downloadnginx-1a64c196a7d43f83a14fec20ce8936e599c92865.tar.gz
nginx-1a64c196a7d43f83a14fec20ce8936e599c92865.tar.bz2
Proxy: proxy_pass_trailers directive.
The directive allows to pass upstream response trailers to client.
Diffstat (limited to 'src/http/ngx_http_upstream.h')
-rw-r--r--src/http/ngx_http_upstream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h
index cb16f2b4d..db0e1424e 100644
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -176,6 +176,7 @@ typedef struct {
ngx_flag_t request_buffering;
ngx_flag_t pass_request_headers;
ngx_flag_t pass_request_body;
+ ngx_flag_t pass_trailers;
ngx_flag_t ignore_client_abort;
ngx_flag_t intercept_errors;
@@ -224,7 +225,6 @@ typedef struct {
signed store:2;
unsigned intercept_404:1;
unsigned change_buffering:1;
- unsigned pass_trailers:1;
unsigned preserve_output:1;
#if (NGX_HTTP_SSL || NGX_COMPAT)