]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: hlua: Fix I/O handler of lua CLI commands to not rely on the SC
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 23 Apr 2025 14:32:55 +0000 (16:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 24 Apr 2025 13:09:37 +0000 (15:09 +0200)
commite406fe16ea0c96f657f7bf6ffb67fb750c08350c
treeda8ba99a89b011887421ad7f0be6d8fbdedfc2b5
parent742dc01537c3796ccde3553d28864bcb22f5dec6
BUG/MINOR: hlua: Fix I/O handler of lua CLI commands to not rely on the SC

Thanks to the CLI refactoring ("MAJOR: cli: Refacor parsing and execution of
pipelined commands"), it is possible to fix the I/O handler function used by
lua CLI commands to no longer use the SC.

When the applet API was refactored to no longer manipulate the channels or
the stream-connectors, this part was missed. However, without the patch
above, it could not be fixed. It is now possible so let's do it.

This patch must not be backported becaues it depends on refactoring of the
CLI applet.
src/hlua.c