]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: htx: Add the start-line offset for the HTX message in the HTX structure
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 26 Nov 2018 14:05:52 +0000 (15:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 16:37:27 +0000 (17:37 +0100)
commit54483df5ba1af9a880ef39cba04dbe5a43eeaa83
tree91c45d441b2170925dccd194e7874ec97f3aa446
parent570d1614fa3d46fe7b85deecedd7b20cdc5427f1
MINOR: htx: Add the start-line offset for the HTX message in the HTX structure

If there is no start-line, this offset is set to -1. Otherwise, it is the
relative address where the start-line is stored in the data block. When the
start-line is added, replaced or removed, this offset is updated accordingly. On
remove, if the start-line is no set and if the next block is a start-line, the
offset is updated. Finally, when an HTX structure is defragmented, the offset is
also updated accordingly.
include/proto/htx.h
include/types/htx.h
src/htx.c