BUG/MINOR: hlua/action: incorrect message on E_YIELD error
When hlua_action error messages were reworked in d5b073cf1
("MINOR: lua: Improve error message"), an error was made for the
E_YIELD case.
Indeed, everywhere E_YIELD error is handled: "yield is not allowed" or
similar error message is reported to the user. But instead we currently
have: "aborting Lua processing on expired timeout".
It is quite misleading because this error message often refers to the
HLUA_E_ETMOUT case.
Thus, we now report the proper error message thanks to this patch.
This should be backported to all stable versions.
[on 2.0, the patch needs to be slightly adapted]
(cherry picked from commit 967608a4327df8269f72d7b67bdf536c84611dbd)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit cf5b75e4cbd925669d46adc4e0a7e4fe6f3627e8)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit f2cce431b6f40ac0e0fb01fea35b70606518f531)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit cd97bd9db905eda828e3cbaf9c8ec3f2639cf411)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed