]> git.kaiwu.me - nginx.git/commitdiff
HTTP/3: added Huffman decoding error logging.
authorSergey Kandaurov <pluknet@nginx.com>
Tue, 14 Nov 2023 11:26:02 +0000 (15:26 +0400)
committerSergey Kandaurov <pluknet@nginx.com>
Tue, 14 Nov 2023 11:26:02 +0000 (15:26 +0400)
src/http/v3/ngx_http_v3_parse.c

index c51a486c300422c5ba28fcba08cae3bb8834bc10..568816323e1ff633d062b03b04ea8eac157d2c88 100644 (file)
@@ -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;
                 }