]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: hlua_fcn: add Patref:set()
authorAurelien DARRAGON <adarragon@haproxy.com>
Tue, 26 Nov 2024 10:26:27 +0000 (11:26 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Fri, 29 Nov 2024 06:23:43 +0000 (07:23 +0100)
commit9ee37de5cf3fb8b61ec8801c01a1f599e6d4a938
tree89f1b459989bc04ec5c7d2c1c4c986687bbf8785
parenta5f74a2a2db61cda74f346355f9250179d358065
MINOR: hlua_fcn: add Patref:set()

Just like "set map" on the cli, the Patref:set() method (only relevant
for maps) can be used to modify an existing entry's value in the pattern
reference pointed to by the Lua Patref object. Lookup is performed on the
key. The update will target the live pattern reference version, unless
Patref:prepare() is ongoing.
doc/lua-api/index.rst
src/hlua_fcn.c