]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: hlua: Use the buffer instead of the HTTP message to get HTTP headers
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 18 Jul 2025 10:07:05 +0000 (12:07 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 24 Jul 2025 10:05:45 +0000 (12:05 +0200)
commitb837e6c04671446f169137ede1ecb7d6dde5ebf1
tree11b9ad2e2f82886bf8da94b3ead365ee5228ab64
parent327272bd8fefdb3b521b3a15e507d23169d5020f
MINOR: hlua: Use the buffer instead of the HTTP message to get HTTP headers

hlua_http_get_headers() function was using the HTTP message from the stream
TXN to retrieve headers from a message. However, this will be an issue to
update the lua HTTP applet to use its own buffers. Indeed, in that case,
information from the channels will be unavailable. So now,
hlua_http_get_headers() is now using a buffer containing an HTX message. It
is just an API change bacause, internally, the function was already
manipulation an HTX message.
src/hlua.c