]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: spoe: Clarify use of the event directive in spoe-message section
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Dec 2021 09:18:09 +0000 (10:18 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Dec 2021 09:18:11 +0000 (10:18 +0100)
Only one event is possible for a spoe-message section. If defined several
time, only the last one is considered. The documentation is now explicit on
this point.

This patch is related to the the issue #1351.

doc/SPOE.txt

index 2330c499d9942f705805017ff0d8b6c073aaa9f4..9a4cc4b5c5eb5bad07492a7b60a02f8bb50b83bd 100644 (file)
@@ -514,7 +514,8 @@ args [name=]<sample> ...
 event <name> [ { if | unless } <condition> ]
   Set the event that triggers sending of the message. It may optionally be
   followed by an ACL-based condition, in which case it will only be evaluated
-  if the condition is true.
+  if the condition is true. A SPOE message can only be sent on one event. If
+  several events are defined, only the last one is considered.
 
   ACL-based conditions are executed in the context of the stream that handle
   the client and the server connections.