summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faulet <cfaulet@haproxy.com>2021-11-09 17:58:12 +0100
committerChristopher Faulet <cfaulet@haproxy.com>2021-11-09 18:05:33 +0100
commit2702560d7be9340df8b1ff31528187cd228e975b (patch)
treec81393088897f36f77e440d0705d7793a7d4baa8
parent4c5a591b1029ef03c3461a7771483aa523e3111a (diff)
downloadhaproxy-2702560d7be9340df8b1ff31528187cd228e975b.tar.gz
DOC: config: Be more explicit in "allow" actions description
TCP/HTTP allow actions stop rules evaluation of the current section only. Only the http-response description was accurate on this point. Thus, the documentation is now explicit on this point for all other concerned rulesets. This patch may be backported, to all supported versions for tcp-request and http-request documentation, and as far as 2.2 for http-after-response documentation.
-rw-r--r--doc/configuration.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/configuration.txt b/doc/configuration.txt
index ffc221cbe..dc4a392b5 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -5357,7 +5357,7 @@ http-after-response add-header <name> <fmt> [ { if | unless } <condition> ]
http-after-response allow [ { if | unless } <condition> ]
This stops the evaluation of the rules and lets the response pass the check.
- No further "http-after-response" rules are evaluated.
+ No further "http-after-response" rules are evaluated for the current section.
http-after-response del-header <name> [ -m <meth> ] [ { if | unless } <condition> ]
@@ -6118,8 +6118,7 @@ http-request add-header <name> <fmt> [ { if | unless } <condition> ]
http-request allow [ { if | unless } <condition> ]
This stops the evaluation of the rules and lets the request pass the check.
- No further "http-request" rules are evaluated.
-
+ No further "http-request" rules are evaluated for the current section.
http-request auth [realm <realm>] [ { if | unless } <condition> ]
@@ -12340,7 +12339,7 @@ tcp-request content <action> [{if | unless} <condition>]
tcp-request content accept [ { if | unless } <condition> ]
This is used to accept the connection. No further "tcp-request content"
- rules are evaluated.
+ rules are evaluated for the current section.
tcp-request content capture <sample> len <length>
[ { if | unless } <condition> ]