From f9a25736fd049075baf76a35628d2351b20f8ab8 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Tue, 14 Nov 2023 15:26:02 +0400 Subject: [PATCH] HTTP/3: added Huffman decoding error logging. --- src/http/v3/ngx_http_v3_parse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/http/v3/ngx_http_v3_parse.c b/src/http/v3/ngx_http_v3_parse.c index c51a486c3..568816323 100644 --- 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_t *c, ngx_http_v3_parse_literal_t *st, 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; }