aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2023-11-14 15:26:02 +0400
committerSergey Kandaurov <pluknet@nginx.com>2023-11-14 15:26:02 +0400
commitf9a25736fd049075baf76a35628d2351b20f8ab8 (patch)
tree15ef260124e13f8bc5ae0c6d054150addc595eea
parent6a4eb51f5eddb0ba251d81082fa86ea2b446f34f (diff)
downloadnginx-f9a25736fd049075baf76a35628d2351b20f8ab8.tar.gz
nginx-f9a25736fd049075baf76a35628d2351b20f8ab8.zip
HTTP/3: added Huffman decoding error logging.
-rw-r--r--src/http/v3/ngx_http_v3_parse.c2
1 files changed, 2 insertions, 0 deletions
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;
}