changeset 9186:f366007dd23a

HTTP/3: added Huffman decoding error logging.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 14 Nov 2023 15:26:02 +0400
parents c458cd00bb0b
children dacad3a9c7b8
files src/http/v3/ngx_http_v3_parse.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/v3/ngx_http_v3_parse.c
+++ b/src/http/v3/ngx_http_v3_parse.c
@@ -650,6 +650,8 @@ ngx_http_v3_parse_literal(ngx_connection
                                          st->length == 1, c->log)
                     != NGX_OK)
                 {
+                    ngx_log_error(NGX_LOG_INFO, c->log, 0,
+                                  "client sent invalid encoded field line");
                     return NGX_ERROR;
                 }