]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: lua: cannot process more Lua hooks after a "done()" function call
authorThierry FOURNIER <tfournier@arpalert.org>
Fri, 28 Aug 2015 07:54:13 +0000 (09:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Aug 2015 08:12:49 +0000 (10:12 +0200)
commite1587b331401e66e97fd6659dd8d938b58998752
treed6d7282773fcc7a083cdb71904cac5920b909f2a
parent0458b08a5a96be13d433319c6ac1fc20b698167b
BUG/MEDIUM: lua: cannot process more Lua hooks after a "done()" function call

When the Lua execution flow endswith the command done (core.done or txn.done())
an error is detourned, and the stack is no longer usable. This patch juste
reinitilize the stack if this case is detected.
src/hlua.c