aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2023-11-14 14:50:03 +0400
committerSergey Kandaurov <pluknet@nginx.com>2023-11-14 14:50:03 +0400
commit6a4eb51f5eddb0ba251d81082fa86ea2b446f34f (patch)
tree5143661290f3a18593a927e695abf76c3ccb5e6e /src
parenta13ed7f5ed5bebdc0b9217ffafb75ab69f835a84 (diff)
downloadnginx-6a4eb51f5eddb0ba251d81082fa86ea2b446f34f.tar.gz
nginx-6a4eb51f5eddb0ba251d81082fa86ea2b446f34f.zip
Adjusted Huffman coding debug logging, missed in 7977:336084ff943b.
Spotted by XingY Wang.
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_huff_decode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/ngx_http_huff_decode.c b/src/http/ngx_http_huff_decode.c
index 14b7b7896..a65c3c329 100644
--- a/src/http/ngx_http_huff_decode.c
+++ b/src/http/ngx_http_huff_decode.c
@@ -2657,7 +2657,7 @@ ngx_http_huff_decode(u_char *state, u_char *src, size_t len, u_char **dst,
!= NGX_OK)
{
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, log, 0,
- "http2 huffman decoding error at state %d: "
+ "http huffman decoding error at state %d: "
"bad code 0x%Xd", *state, ch >> 4);
return NGX_ERROR;
@@ -2667,7 +2667,7 @@ ngx_http_huff_decode(u_char *state, u_char *src, size_t len, u_char **dst,
!= NGX_OK)
{
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, log, 0,
- "http2 huffman decoding error at state %d: "
+ "http huffman decoding error at state %d: "
"bad code 0x%Xd", *state, ch & 0xf);
return NGX_ERROR;
@@ -2677,7 +2677,7 @@ ngx_http_huff_decode(u_char *state, u_char *src, size_t len, u_char **dst,
if (last) {
if (!ending) {
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0,
- "http2 huffman decoding error: "
+ "http huffman decoding error: "
"incomplete code 0x%Xd", ch);
return NGX_ERROR;