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.

(cherry picked from commit 9060fc02b50db59ea97abedc2fce81cbf4eebcfe)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed