mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-11 01:41:49 -04:00
CLEANUP: qpack: fix copy-paste typo in value Huffman debug string
In qpack_decode_fs(), when decoding a literal field line with a literal value, the debug message mistakenly printed "[name huff ...]" instead of "[value huff ...]" after a successful Huffman decoding of the value string. This is a harmless copy-paste typo from the field name decoding block just above, fix it to prevent confusion when debugging QPACK streams. Should be easily backported to all versions to ease further modifications into the QPACK code.
This commit is contained in:
parent
2f20eb5bd8
commit
0e83b7cd08
1 changed files with 1 additions and 1 deletions
|
|
@ -462,7 +462,7 @@ int qpack_decode_fs(const unsigned char *raw, uint64_t len, struct buffer *tmp,
|
|||
goto out;
|
||||
}
|
||||
|
||||
qpack_debug_printf(stderr, " [name huff %d->%d '%s']", (int)length, (int)nlen, trash);
|
||||
qpack_debug_printf(stderr, " [value huff %d->%d '%s']", (int)length, (int)nlen, trash);
|
||||
/* makes an ist from tmp storage */
|
||||
b_add(tmp, nlen);
|
||||
value = ist2(trash, nlen);
|
||||
|
|
|
|||
Loading…
Reference in a new issue