summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2021-08-29 22:20:49 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2021-08-29 22:20:49 +0300
commitaa02695f5ea70f6628317b56f93e7e8733d4a029 (patch)
treea63bc6e053101244c402a59282ff33d341e0ff50
parent2862eb40e86190bf4d337a6483150f4385fb5358 (diff)
downloadnginx-aa02695f5ea70f6628317b56f93e7e8733d4a029.tar.gz
Request body: missing comments about initialization.
-rw-r--r--src/http/ngx_http_request_body.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c
index 0cae88f77..b72614ff9 100644
--- a/src/http/ngx_http_request_body.c
+++ b/src/http/ngx_http_request_body.c
@@ -62,11 +62,13 @@ ngx_http_read_client_request_body(ngx_http_request_t *r,
/*
* set by ngx_pcalloc():
*
+ * rb->temp_file = NULL;
* rb->bufs = NULL;
* rb->buf = NULL;
* rb->free = NULL;
* rb->busy = NULL;
* rb->chunked = NULL;
+ * rb->received = 0;
*/
rb->rest = -1;