mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-08 13:53:35 +02:00
The commit reverts following commits: *83926a04BUG/MEDIUM: debug/lua: Don't dump the lua stack if not dumpable *a61789a1MEDIUM: lua: Use a per-thread counter to track some non-reentrant parts of lua Instead of relying on a Lua function to print the lua traceback into the debugger, we are now using our own internal function (hlua_traceback()). This one does not allocate memory and use a chunk instead. This avoids any issue with a possible deadlock in the memory allocator because the thread processing was interrupted during a memory allocation. This patch relies on the commit "BUG/MEDIUM: debug/lua: Use internal hlua function to dump the lua traceback". Both must be backported wherever the patches above are backported, thus as far as 2.0