]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http-htx: Add a function to retrieve the headers size of an HTX message
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 7 Feb 2020 15:39:41 +0000 (16:39 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 18 Feb 2020 10:19:57 +0000 (11:19 +0100)
commit727a3f1ca3b32248d84499fe6bc554e3acaf5af7
tree48c56788f38bcb42a41aa68634e4ef94d0c45c73
parenta71667c07d4cd9f6d350e100caa9039a7fd2d7a1
MINOR: http-htx: Add a function to retrieve the headers size of an HTX message

http_get_hdrs_size() function may now be used to get the bytes held by headers
in an HTX message. It only works if the headers were not already
forwarded. Metadata are not counted here.
include/proto/http_htx.h
src/http_htx.c