aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2021-08-29 22:21:03 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2021-08-29 22:21:03 +0300
commit2a709213800fd3fd2809881374eb110562b53c08 (patch)
treea884cfd5f63699a150021854c3fdfe314f0a37d7 /src/http/ngx_http_request.h
parentfd9d43b087b4247f8cb5f91845be46bd624c175a (diff)
downloadnginx-2a709213800fd3fd2809881374eb110562b53c08.tar.gz
nginx-2a709213800fd3fd2809881374eb110562b53c08.zip
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.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index 63576274e..896657890 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -302,6 +302,7 @@ typedef struct {
ngx_chain_t *busy;
ngx_http_chunked_t *chunked;
ngx_http_client_body_handler_pt post_handler;
+ unsigned last_saved:1;
} ngx_http_request_body_t;