Welcome! Log In Create A New Profile

Advanced

[nginx] Adjusted Huffman coding debug logging, missed in 7977:336084ff943b.

Sergey Kandaurov
November 24, 2023 05:54AM
details: https://hg.nginx.org/nginx/rev/c458cd00bb0b
branches:
changeset: 9185:c458cd00bb0b
user: Sergey Kandaurov <pluknet@nginx.com>
date: Tue Nov 14 14:50:03 2023 +0400
description:
Adjusted Huffman coding debug logging, missed in 7977:336084ff943b.

Spotted by XingY Wang.

diffstat:

src/http/ngx_http_huff_decode.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 7ec761f0365f -r c458cd00bb0b src/http/ngx_http_huff_decode.c
--- a/src/http/ngx_http_huff_decode.c Thu Oct 26 23:35:09 2023 +0300
+++ b/src/http/ngx_http_huff_decode.c Tue Nov 14 14:50:03 2023 +0400
@@ -2657,7 +2657,7 @@ ngx_http_huff_decode(u_char *state, u_ch
!= 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_ch
!= 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_ch
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;
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Adjusted Huffman coding debug logging, missed in 7977:336084ff943b.

Sergey Kandaurov 344 November 24, 2023 05:54AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 91
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready