[nginx] HTTP/3: added Huffman decoding error logging.

Sergey Kandaurov pluknet at nginx.com
Fri Nov 24 10:53:22 UTC 2023


details:   https://hg.nginx.org/nginx/rev/f366007dd23a
branches:  
changeset: 9186:f366007dd23a
user:      Sergey Kandaurov <pluknet at nginx.com>
date:      Tue Nov 14 15:26:02 2023 +0400
description:
HTTP/3: added Huffman decoding error logging.

diffstat:

 src/http/v3/ngx_http_v3_parse.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r c458cd00bb0b -r f366007dd23a src/http/v3/ngx_http_v3_parse.c
--- a/src/http/v3/ngx_http_v3_parse.c	Tue Nov 14 14:50:03 2023 +0400
+++ b/src/http/v3/ngx_http_v3_parse.c	Tue Nov 14 15:26:02 2023 +0400
@@ -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;
                 }
 


More information about the nginx-devel mailing list