comparison src/http/ngx_http_request.h @ 8587:185c86b830ef

Request body: introduced rb->last_saved flag. It indicates that the last buffer was received by the save filter, and can be used to check this at higher levels. To be used in the following changes.
author Maxim Dounin <mdounin@mdounin.ru>
date Sun, 29 Aug 2021 22:21:03 +0300
parents 52338ddf9e2f
children 9cf043a5d9ca
comparison
equal deleted inserted replaced
8586:96e09beaa2cf 8587:185c86b830ef
300 off_t received; 300 off_t received;
301 ngx_chain_t *free; 301 ngx_chain_t *free;
302 ngx_chain_t *busy; 302 ngx_chain_t *busy;
303 ngx_http_chunked_t *chunked; 303 ngx_http_chunked_t *chunked;
304 ngx_http_client_body_handler_pt post_handler; 304 ngx_http_client_body_handler_pt post_handler;
305 unsigned last_saved:1;
305 } ngx_http_request_body_t; 306 } ngx_http_request_body_t;
306 307
307 308
308 typedef struct ngx_http_addr_conf_s ngx_http_addr_conf_t; 309 typedef struct ngx_http_addr_conf_s ngx_http_addr_conf_t;
309 310