]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: hlua: Fix getline() for TCP applets to work with applet's buffers
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 27 May 2025 05:46:44 +0000 (07:46 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 27 May 2025 05:53:01 +0000 (07:53 +0200)
commitc0ecef71d7ceaf404bc18241bdb878a4e72033b4
tree4783b0a9a824d821bfbee9822cca907fad4c8faf
parentc64781c2c8b307fba7499fc70102d4246e850240
BUG/MEDIUM: hlua: Fix getline() for TCP applets to work with applet's buffers

The commit e5e36ce09 ("BUG/MEDIUM: hlua/cli: Fix lua CLI commands to work
with applet's buffers") fixed the TCP applets API to work with applets using
its own buffers. Howver the getline() function was not updated. It could be
an issue for anyone registering a CLI commands reading lines.

This patch should be backported as far as 3.0.
src/hlua.c