]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: spoe/rules: Add "send-spoe-group" action for tcp/http rules
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 21 Sep 2017 09:03:52 +0000 (11:03 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 10:36:12 +0000 (11:36 +0100)
commit76c09ef8de396e7a269578f430b1c9b29b5c8d04
tree912c63e4602b21a455a9d7870013e6cbb3845ecf
parent11610f3b5afe52589792383fe8349ff4ea40228a
MEDIUM: spoe/rules: Add "send-spoe-group" action for tcp/http rules

This action is used to trigger sending of a group of SPOE messages. To do so,
the SPOE engine used to send messages must be defined, as well as the SPOE group
to send. Of course, the SPOE engine must refer to an existing SPOE filter. If
not engine name is provided on the SPOE filter line, the SPOE agent name must be
used. For example:

   http-request send-spoe-group my-engine some-group

This action is available for "tcp-request content", "tcp-response content",
"http-request" and "http-response" rulesets. It cannot be used for tcp
connection/session rulesets because actions for these rulesets cannot yield.

For now, the action keyword is parsed and checked. But it does nothing. Its
processing will be added in another patch.
doc/configuration.txt
include/types/spoe.h
src/flt_spoe.c