]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: htx: Improve htx_xfer API to not count HTX meta-data
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 20 May 2026 13:32:41 +0000 (15:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 20 May 2026 14:21:02 +0000 (16:21 +0200)
commit56e7f8ef3189b448d39bccf4ce0612ff8ce76235
treefc199ebf4d7b290cd8d356dd3af229da73d0ba30
parent99d48c3aecc93a2b1db78c3f3e1fd83134911258
MEDIUM: htx: Improve htx_xfer API to not count HTX meta-data

This patch add the ability to the htx_xfer() function to transfer data
without acounting the meta-data. By default, the <count> variable includes
the meta-data. But by setting the flag HTX_XFER_NO_METADATA, It is possible
to transfer HTX blocks without count meta-data. In that case, <count> will
not contain the blocks meta-data and the return value will not include them.
include/haproxy/htx.h
src/htx.c