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.
(cherry picked from commit 727a3f1ca3b32248d84499fe6bc554e3acaf5af7)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 3adcf7ec66de85a34363f7f5b48a4553acd6d412)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
2 files changed