commit | 789a4726746d62e8341dc13c6f8e32dd6158c425 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Dec 02 17:40:54 2020 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu Jan 28 16:37:14 2021 +0100 |
tree | d6671446513392d515ab639933fc06a77de0aa8f | |
parent | d8b44f0d9fa7f455a4d8cb7fdc5837b93bf4bbe2 [diff] |
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.