]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: actions: add a function returning a service pointer from its name
authorThierry Fournier <thierry.fournier@ozon.io>
Sat, 28 Nov 2020 18:32:14 +0000 (19:32 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Dec 2020 08:45:18 +0000 (09:45 +0100)
commit87e539906b13ed1d86684d9d3eab82b550fae02d
tree060ddb544debb6797334aae456abe83c50c9fafc
parent7a71a6d9d262d7a0f7c3d208ab339d469958011d
MINOR: actions: add a function returning a service pointer from its name

This function simply calls action_lookup() on the private service_keywords,
to look up a service name. This will be used to detect double registration
of a same service from Lua.

This will be needed by a next patch to fix a bug and will have to be
backported.
include/haproxy/stream.h
src/stream.c