]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: hlua/htx: Respect the reserve when HTX data are sent
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 3 Jul 2019 09:39:30 +0000 (11:39 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 3 Jul 2019 09:47:20 +0000 (11:47 +0200)
commit9060fc02b50db59ea97abedc2fce81cbf4eebcfe
tree7c3ab2d8f81c0b5bc25aa219c8da2290efd9eecc
parent621da6bafaffc4a0182fb46cfa4b0153c83469e7
BUG/MINOR: hlua/htx: Respect the reserve when HTX data are sent

The previous commit 7e145b3e2 ("BUG/MINOR: hlua: Don't use
channel_htx_recv_max()") is buggy. The buffer's reserve must be respected.

This patch must be backported to 2.0 and 1.9.
src/hlua.c