Welcome! Log In Create A New Profile

Advanced

[nginx] HTTP/2: improved body reading logging.

Maxim Dounin
August 29, 2021 05:06PM
details: https://hg.nginx.org/nginx/rev/51f463301f86
branches:
changeset: 7907:51f463301f86
user: Maxim Dounin <mdounin@mdounin.ru>
date: Sun Aug 29 22:20:34 2021 +0300
description:
HTTP/2: improved body reading logging.

diffstat:

src/http/v2/ngx_http_v2.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r 058a67435e83 -r 51f463301f86 src/http/v2/ngx_http_v2.c
--- a/src/http/v2/ngx_http_v2.c Fri Aug 20 03:53:56 2021 +0300
+++ b/src/http/v2/ngx_http_v2.c Sun Aug 29 22:20:34 2021 +0300
@@ -4154,6 +4154,9 @@ ngx_http_v2_process_request_body(ngx_htt
rb = r->request_body;
buf = rb->buf;

+ ngx_log_debug0(NGX_LOG_DEBUG_HTTP, fc->log, 0,
+ "http2 process request body");
+
if (size) {
if (buf->sync) {
buf->pos = buf->start = pos;
@@ -4364,6 +4367,9 @@ ngx_http_v2_read_unbuffered_request_body
stream = r->stream;
fc = r->connection;

+ ngx_log_debug0(NGX_LOG_DEBUG_HTTP, fc->log, 0,
+ "http2 read unbuffered request body");
+
if (fc->read->timedout) {
if (stream->recv_window) {
stream->skip_data = 1;
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] HTTP/2: improved body reading logging.

Maxim Dounin 306 August 29, 2021 05:06PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 289
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready