diff src/http/v3/ngx_http_v3_parse.c @ 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 f742b1b46901
children
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;
                 }