]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: applet: Add a function to know the side where an applet was created
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 24 Apr 2024 12:36:17 +0000 (14:36 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 25 Apr 2024 16:29:57 +0000 (18:29 +0200)
commitbea541b70aa9e47c051760e6010f34ec202fb722
tree1e1964b5bd895c1c9328612a6bc8104f80ddd1e6
parent0c1ea46fe0e4c9408ca07ce7ca71ba163a8a9087
MINOR: applet: Add a function to know the side where an applet was created

appctx_is_back() function may be used to know if an applet was create on
frontend side or on backend side. It may be handy for some applets that may
exist on both sides, like peer applets.
include/haproxy/applet.h