Deadlock lua when calling register_task inside action function

2019-01-01 Thread Flakebi
test(txn) -- This works when commenting out the task creation core.register_task(function() core.Warning("Aha") end) end core.register_action("test", { "http-req" }, test, 0) Cheers, Flakebi [1] https://www.arpalert.org/src/haproxy-lua-api/1.8

Re: Deadlock lua when calling register_task inside action function

2019-01-06 Thread Flakebi
Hi, Thanks for the fast fix, everything works fine now! Cheers, Flakebi On Sun, 6 Jan 2019 19:11:21 +0100 Thierry Fournier wrote: > Hi, > > Thanks for the bug report. > Your "uneducated guess" was right. > > Could you test the patch in attachment ? > > Th