Mercurial > hg > nginx-quic
comparison src/http/ngx_http_upstream.h @ 6050:a08fad30aeac
Request body: unbuffered reading.
The r->request_body_no_buffering flag was introduced. It instructs
client request body reading code to avoid reading the whole body, and
to call post_handler early instead. The caller should use the
ngx_http_read_unbuffered_request_body() function to read remaining
parts of the body.
Upstream module is now able to use this mode, if configured with
the proxy_request_buffering directive.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 23 Mar 2015 21:09:19 +0300 |
parents | 0a198a517eaf |
children | 79ddb0bdb273 |
comparison
equal
deleted
inserted
replaced
6049:42d9beeb22db | 6050:a08fad30aeac |
---|---|
158 ngx_uint_t ignore_headers; | 158 ngx_uint_t ignore_headers; |
159 ngx_uint_t next_upstream; | 159 ngx_uint_t next_upstream; |
160 ngx_uint_t store_access; | 160 ngx_uint_t store_access; |
161 ngx_uint_t next_upstream_tries; | 161 ngx_uint_t next_upstream_tries; |
162 ngx_flag_t buffering; | 162 ngx_flag_t buffering; |
163 ngx_flag_t request_buffering; | |
163 ngx_flag_t pass_request_headers; | 164 ngx_flag_t pass_request_headers; |
164 ngx_flag_t pass_request_body; | 165 ngx_flag_t pass_request_body; |
165 | 166 |
166 ngx_flag_t ignore_client_abort; | 167 ngx_flag_t ignore_client_abort; |
167 ngx_flag_t intercept_errors; | 168 ngx_flag_t intercept_errors; |