]> git.kaiwu.me - haproxy.git/commit
MINOR: htx: Add a field to save the headers data size
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 22 Jun 2026 16:36:45 +0000 (18:36 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 8 Jul 2026 06:52:06 +0000 (08:52 +0200)
commitbaec1a9c37a1fa28e769cafaf24cfc90be932f3c
tree1145c77db71bdf8a010d66e821f6ff3da47c1063
parentac37158a6db7db31e0f7943f57cf0e2efa5e38ae
MINOR: htx: Add a field to save the headers data size

The size of headers present in an HTX message are now counted. A dedicated
field was added in the HTX structure to do so. This patch is quite simple
but it will be mandatory to be able to perform some tests on headers. One of
them is to be sure headers never exceed the regular buffer size, even when a
large buffer is used.
include/haproxy/htx-t.h
include/haproxy/htx.h
src/htx.c