commit | e23f33bbfe68273e93bed09150304f4f120605fe | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri May 06 14:07:13 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 06 18:13:36 2022 +0200 |
tree | 3861ebef5a37a6c365fc15d4a45046ae00d99f55 | |
parent | 5321da9df086c136731c803cd077bc8005a70c70 [diff] |
MINOR: lua: move the tcp service storage outside of appctx.ctx The use-service mechanism for Lua in TCP mode relies on the hlua_tcp storage in appctx->ctx. We can move its definition to hlua.c and simply use appctx_reserve_svcctx() to reserve and access the stoage. One tiny side effect is that the task dump used in panics will not show anymore the Lua call stack in its trace. For this a better API is needed from the Lua code to expose a function that does the job from an appctx.