diff src/http/v2/ngx_http_v2.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 ea1f29c2010c
children 208a4adb82ef
line wrap: on
line diff
--- a/src/http/v2/ngx_http_v2.c
+++ b/src/http/v2/ngx_http_v2.c
@@ -3807,6 +3807,7 @@ ngx_http_v2_read_request_body(ngx_http_r
 
     if (stream->skip_data) {
         r->request_body_no_buffering = 0;
+        r->connection->log->action = NULL;
         rb->post_handler(r);
         return NGX_OK;
     }
@@ -4061,6 +4062,7 @@ ngx_http_v2_process_request_body(ngx_htt
     }
 
     r->read_event_handler = ngx_http_block_reading;
+    r->connection->log->action = NULL;
     rb->post_handler(r);
 
     return NGX_OK;