]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: lua: Abort when txn:done() is called from a Lua action
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 5 Mar 2020 10:07:31 +0000 (11:07 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Mar 2020 13:12:59 +0000 (14:12 +0100)
commit4ad7310399b60b53f1b9406ac9be7cdbb701db86
tree16c377282eb422cfe768aee4fa5d38f82e7e2a41
parente58c0002ff7dc1f88990171810f268ae26d0cf99
BUG/MINOR: lua: Abort when txn:done() is called from a Lua action

When a lua action aborts a transaction calling txn:done() function, the action
must return ACT_RET_ABRT instead of ACT_RET_DONE. It is mandatory to
abort the message analysis.

This patch must be backported everywhere the commit 7716cdf45 ("MINOR: lua: Get
the action return code on the stack when an action finishes") was
backported. For now, no backport needed.
src/hlua.c