[nginx] Request body: missing comments about initialization.

Maxim Dounin mdounin at mdounin.ru
Sun Aug 29 21:01:03 UTC 2021


details:   https://hg.nginx.org/nginx/rev/d869e43643ac
branches:  
changeset: 7911:d869e43643ac
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Sun Aug 29 22:20:49 2021 +0300
description:
Request body: missing comments about initialization.

diffstat:

 src/http/ngx_http_request_body.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (17 lines):

diff -r 1d78437dbc3f -r d869e43643ac src/http/ngx_http_request_body.c
--- a/src/http/ngx_http_request_body.c	Sun Aug 29 22:20:44 2021 +0300
+++ b/src/http/ngx_http_request_body.c	Sun Aug 29 22:20:49 2021 +0300
@@ -62,11 +62,13 @@ ngx_http_read_client_request_body(ngx_ht
     /*
      * 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;


More information about the nginx-devel mailing list