commit | 670db24329620fa9acc5638125c36e8bc23f0c4c | [log] [tgz] |
---|---|---|
author | Thierry Fournier <thierry.fournier@ozon.io> | Sat Nov 28 10:49:59 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Dec 02 21:53:16 2020 +0100 |
tree | be08dc02cfc28f1b6f235481fb89ae8e69b2eb94 | |
parent | 3fb9e5133a06617071262a380cf103250011bb90 [diff] |
MEDIUM: lua-thread: make hlua_post_init() no longer use the runtime execution function The goal is to no longer use "struct hlua" with global main lua_state. The hlua_post_init() is executed during start phase, it does not require yielding nor any advanced runtime error processing. Let's simplify this by re-implementing the code using lower-level functions which directly take a state and not an hlua anymore.