MINOR: htx: Add a function to find the HTX block corresponding to a data offset
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 22 Nov 2018 10:28:18 +0000 (11:28 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 16:37:27 +0000 (17:37 +0100)
commit14e88252f22d5064c4d4a13dc8d62aff98816c83
tree4b61c58bd98985a986775fd6c7f56537d9473a53
parentd16b0a7b2dce5e90a11a74afa13b8d1fd5e7c5e4
MINOR: htx: Add a function to find the HTX block corresponding to a data offset

The function htx_find_blk() returns the HTX block containing data with a given
offset, relatively to the beginning of the HTX message. It is a good way to skip
outgoing data and find the first HTX block not already processed.
include/proto/htx.h