Mercurial > hg > nginx
changeset 7907:51f463301f86
HTTP/2: improved body reading logging.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sun, 29 Aug 2021 22:20:34 +0300 |
parents | 058a67435e83 |
children | 0dcec8e5d50a |
files | src/http/v2/ngx_http_v2.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ 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 @@ 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;