Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.h @ 7232:a7ed15573ae9
Upstream: u->conf->preserve_output flag.
The flag can be used to continue sending request body even after we've
got a response from the backend. In particular, this is needed for gRPC
proxying of bidirectional streaming RPCs, and also to send control frames
in other forms of RPCs.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 17 Mar 2018 23:04:23 +0300 |
parents | 22f7bdbd96d3 |
children | 8b68d50090e4 |
comparison
equal
deleted
inserted
replaced
7231:22f7bdbd96d3 | 7232:a7ed15573ae9 |
---|---|
221 #endif | 221 #endif |
222 signed store:2; | 222 signed store:2; |
223 unsigned intercept_404:1; | 223 unsigned intercept_404:1; |
224 unsigned change_buffering:1; | 224 unsigned change_buffering:1; |
225 unsigned pass_trailers:1; | 225 unsigned pass_trailers:1; |
226 unsigned preserve_output:1; | |
226 | 227 |
227 #if (NGX_HTTP_SSL || NGX_COMPAT) | 228 #if (NGX_HTTP_SSL || NGX_COMPAT) |
228 ngx_ssl_t *ssl; | 229 ngx_ssl_t *ssl; |
229 ngx_flag_t ssl_session_reuse; | 230 ngx_flag_t ssl_session_reuse; |
230 | 231 |