]> git.kaiwu.me - haproxy.git/commit
MINOR: lua: register and execute converters in LUA
authorThierry FOURNIER <tfournier@haproxy.com>
Mon, 16 Feb 2015 19:21:12 +0000 (20:21 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 28 Feb 2015 22:12:35 +0000 (23:12 +0100)
commit9be813f8612eb7480bf4e1b34bd5a1f055641867
tree2c6cf2179d90094e72d47fce235d9d807bbf185e
parentfa0e5dd217ff6d55d269e47e4aa3854682481b23
MINOR: lua: register and execute converters in LUA

This patch permits to write LUA converters. Note that
all the converters declared trough LUA are automatically
prefixed by "lua.".

The Lua converters needs the current session to be executed,
but the writed and executed Lua code must be static and
contextless. The TXN object is not created for the converters.
src/hlua.c