]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: hlua: fixing hlua_http_msg_del_data behavior
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 28 Sep 2022 13:52:18 +0000 (15:52 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 28 Sep 2022 16:43:19 +0000 (18:43 +0200)
commitd7c71b03d83144913a33a09080c3738b27395af8
treecaa9b213ef2c2878b681d1de706794d632cc85d4
parentc5daf2801a76ed56743c25fb6a35dee77440c6bc
BUG/MINOR: hlua: fixing hlua_http_msg_del_data behavior

GH issue #1885 reported that HTTPMessage.remove() did not
work as expected.

It turns out that underlying hlua_http_msg_del_data() function
was not working properly due to input / output inversion as well
as incorrect user offset handling.

This patch fixes it so that the behavior is the one described in
the documentation.

This could be backported to 2.6 and 2.5.
src/hlua.c