diff src/http/v3/ngx_http_v3_request.c @ 9254:cb1e214efe41

Request body: provided log action for reading request body.
author Maxim Dounin <mdounin@mdounin.ru>
date Sat, 27 Apr 2024 18:19:07 +0300
parents 3728a0ed243a
children 208a4adb82ef
line wrap: on
line diff
--- a/src/http/v3/ngx_http_v3_request.c
+++ b/src/http/v3/ngx_http_v3_request.c
@@ -1250,6 +1250,7 @@ ngx_http_v3_read_request_body(ngx_http_r
     if (rb->rest == 0 && rb->last_saved) {
         /* the whole request body was pre-read */
         r->request_body_no_buffering = 0;
+        r->connection->log->action = NULL;
         rb->post_handler(r);
         return NGX_OK;
     }
@@ -1472,6 +1473,7 @@ ngx_http_v3_do_read_client_request_body(
 
     if (!r->request_body_no_buffering) {
         r->read_event_handler = ngx_http_block_reading;
+        r->connection->log->action = NULL;
         rb->post_handler(r);
     }