]> git.kaiwu.me - haproxy.git/commit
MINOR: htx: Add helper functions to xfer a message to smaller or larger one
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 10 Mar 2026 07:10:29 +0000 (08:10 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 23 Mar 2026 13:02:42 +0000 (14:02 +0100)
commit0213dd70c9dc5027f18d2f2b91586f0bb510a2ad
treee769093516a5492a48d0bf1990e14dfb97df0889
parent5ead611cc2bf9cc851dd0264c346c261b1af7d06
MINOR: htx: Add helper functions to xfer a message to smaller or larger one

htx_move_to_small_buffer()/htx_move_to_large_buffer() and
htx_copy_to_small_buffer()/htx_copy_to_large_buffer() functions can now be
used to move or copy blocks from a default buffer to a small or large
buffer. The destination buffer is allocated and then each blocks are
transferred into it.

These funtions relies in htx_xfer() function.
include/haproxy/htx.h
src/htx.c