]> git.kaiwu.me - haproxy.git/commit
MEDIUM: htx/tree-wide: Remove tests on HTX_BLK_UNUSED when possible
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 23 Jul 2026 09:05:53 +0000 (11:05 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 18 Sep 2026 15:05:18 +0000 (17:05 +0200)
commit83024657c8a15ef257effb0ede2cdf128a91bd00
treea7ba457d045fcc9c4ed70ade35dc17b4eedafb08
parentfb968bb018fdaccdb33e1c105fd0de690292324d
MEDIUM: htx/tree-wide: Remove tests on HTX_BLK_UNUSED when possible

Thanks to previous changes, it is possible to remove all tests on
HTX_BLK_UNUSED outside of the HTX API. Indeed, because htx_get_*_blk() and
htx_remove_blk() functions are now skipping automatically unused blocks, we
are sure to never get such blocks from outside.
include/haproxy/htx.h
src/cache.c
src/flt_http_comp.c
src/flt_trace.c
src/h3.c
src/hlua.c
src/htx.c
src/mux_h1.c
src/mux_h2.c