]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: spoe: Add "option set-on-error" statement
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 16 Nov 2016 14:36:19 +0000 (15:36 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 21 Nov 2016 14:29:59 +0000 (15:29 +0100)
commit985532d1d8d505fc042f475bd2bd8f11ad4b2c9a
treef26e8d021bee8af4f5d19565fd02af397ac46a17
parent4802672274eddc91aa5ab2d6b12810d050436536
MINOR: spoe: Add "option set-on-error" statement

It defines the variable to set when an error occurred during an event
processing. It will only be set when an error occurred in the scope of the
transaction. As for all other variables define by the SPOE, it will be
prefixed. So, if your variable name is "error" and your prefix is "my_spoe_pfx",
the variable will be "txn.my_spoe_pfx.error".

When set, the variable is the boolean "true". Note that if "option
continue-on-error" is set, the variable is not automatically removed between
events processing.
doc/SPOE.txt
src/flt_spoe.c