]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: htx: Add a function to know if a block is the only one in a message
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 2 Dec 2020 16:40:54 +0000 (17:40 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 28 Jan 2021 15:37:14 +0000 (16:37 +0100)
commit789a4726746d62e8341dc13c6f8e32dd6158c425
treed6671446513392d515ab639933fc06a77de0aa8f
parentd8b44f0d9fa7f455a4d8cb7fdc5837b93bf4bbe2
MINOR: htx: Add a function to know if a block is the only one in a message

The htx_is_unique_blk() function may now be used to know if a block is the
only one in an HTX message, excluding all unused blocks. Note the purpose of
this function is not to know if a block is the last one of an HTTP message.
This means no more data part from the message are expected, except tunneled
data. It only says if a block is alone in an HTX message.
include/haproxy/htx.h