]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: lua: Add stick table support for Lua.
authorAdis Nezirovic <anezirovic@haproxy.com>
Fri, 13 Jul 2018 10:18:33 +0000 (12:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 29 Sep 2018 18:15:01 +0000 (20:15 +0200)
commit8878f8eb3df7e3f8dcd703a54c73dd26cf834cca
tree4334edfacbc9cad65d04db1b0aec2ef0f560a6ca
parentd48d6d284ed6165dae2e3e97c2f72ed77a828622
MEDIUM: lua: Add stick table support for Lua.

This ads support for accessing stick tables from Lua. The supported
operations are reading general table info, lookup by string/IP key, and
dumping the table.

Similar to "show table", a data filter is available during dump, and as
an improvement over "show table" it's possible to use up to 4 filter
expressions instead of just one (with implicit AND clause binding the
expressions). Dumping with/without filters can take a long time for
large tables, and should be used sparingly.
doc/lua-api/index.rst
include/types/hlua.h
src/hlua_fcn.c