]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: hlua: report proper context upon error in hlua_cli_io_handler_fct()
authorAurelien DARRAGON <adarragon@haproxy.com>
Fri, 21 Jun 2024 17:12:37 +0000 (19:12 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Wed, 26 Jun 2024 09:06:24 +0000 (11:06 +0200)
commit185d230e2c615ee723270c81e4eb1eec20181918
tree0496fb4a810bb90cbee6e7e640c834d3f5e02a97
parentbc9821fd26b3a118415f579cdfa6e430b03f96da
BUG/MINOR: hlua: report proper context upon error in hlua_cli_io_handler_fct()

As a result of copy pasting, hlua_cli_io_handler_fct() used to report lua
exceptions like E_ETMOUT as "Lua converter" instead of "Lua cli".

Let's fix that.

It could be backported to all stable versions.

[ada: for older versions, HLUA_E_BTMOUT case didn't exist so it has to be
 skipped]
src/hlua.c