This is an automated email from the ASF dual-hosted git repository.
maskit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 4274bc0328 qpack: Don't block decoding if Required Insert Count is
zero (#11070)
4274bc0328 is described below
commit 4274bc0328b78945cf2405b0745d5d9355b82bbc
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Mon Feb 12 16:08:24 2024 -0700
qpack: Don't block decoding if Required Insert Count is zero (#11070)
---
src/proxy/http3/QPACK.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/proxy/http3/QPACK.cc b/src/proxy/http3/QPACK.cc
index dc32d7a171..dd2c802a68 100644
--- a/src/proxy/http3/QPACK.cc
+++ b/src/proxy/http3/QPACK.cc
@@ -267,7 +267,7 @@ QPACK::decode(uint64_t stream_id, const uint8_t
*header_block, size_t header_blo
}
uint16_t largest_reference = tmp;
- if (this->_dynamic_table.is_empty() || this->_dynamic_table.largest_index()
< largest_reference) {
+ if (largest_reference != 0 && (this->_dynamic_table.is_empty() ||
this->_dynamic_table.largest_index() < largest_reference)) {
// Blocked
if (this->_add_to_blocked_list(
new DecodeRequest(largest_reference, thread, cont, stream_id,
header_block, header_block_len, hdr))) {