]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: hq_interop: fix bytes_in retrieval for OBJ_TYPE_HALOAD
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 20 May 2026 07:48:48 +0000 (09:48 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 18 Jun 2026 09:25:59 +0000 (11:25 +0200)
commite5bb139b835a7905c9ca05ecda6029b20cc09da7
tree840c602a024955fccc14efbd16817a997c5dc1d4
parent9a6d1fe3f00d86ab4ea6ea6ea0a5d48fc058a513
BUG/MINOR: hq_interop: fix bytes_in retrieval for OBJ_TYPE_HALOAD

To make haload work correctly with hq_interop (h0/QUIC), we need
to support its specific stream layout. This patch adds the inline helper
hq_interop_strm_bytes_in() which correctly extracts the <bytes_in> value
from either __sc_strm(sc) or __sc_hldstream(sc) depending on the object
type, preventing haload crashes when it uses hq_interop.
src/hq_interop.c