]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: channel/htx: Add the HTX version of channel_truncate/erase
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 7 Jan 2019 13:55:10 +0000 (14:55 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 8 Jan 2019 11:06:55 +0000 (12:06 +0100)
commitf7ed195ac8b2b7bbae2ca2b2706f7ba11fa63919
tree50b54a4cfb8f7008ef882debd710e74e29c99941
parent00cf697215033ffc5fb2ff63b3ba80598b3d396b
MINOR: channel/htx: Add the HTX version of channel_truncate/erase

The function channel_htx_truncate() can now be used on HTX buffer to truncate
all incoming data, keeping outgoing one intact. This function relies on the
function channel_htx_erase() and htx_truncate().

This patch may be backported to 1.9. If so, the patch "MINOR: channel/htx: Add
the HTX version of channel_truncate()" must also be backported.
include/proto/channel.h