]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: configuration: Remove dangerous directives from the proxy matrix
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 16 Sep 2024 06:46:16 +0000 (08:46 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 16 Sep 2024 20:55:25 +0000 (22:55 +0200)
For now, that only concerns accept-invalid-http-{request/response} and
accept-unsafe-violations-in-http-{request/response}. But the idea is to make
dangerous directives hard to find. It is one more way to discourage anyone
to use it. And, optionnaly, it is also handy because it keeps the matrix
aligned on 80 columns.

doc/configuration.txt

index 46c3ab4c02d9bdee4e96bbc7c49ad88843944284..0ea408298116f210d9d7030bee388ee38777ed7e 100644 (file)
@@ -5350,6 +5350,11 @@ specified in a previous "defaults" section. Keywords supported in defaults
 sections marked with "(!)" are only supported in named defaults sections, not
 anonymous ones.
 
+Note: Some dangerous and not recommanded directives are intentionnaly not
+      listed in the following matrix. It is on purpose. These directives are
+      documentated. But by not listing them below is one more way to discourage
+      anyone to use it.
+
 
  keyword                              defaults   frontend   listen    backend
 ------------------------------------+----------+----------+---------+---------
@@ -5418,10 +5423,6 @@ mode                                      X          X         X         X
 monitor fail                              -          X         X         -
 monitor-uri                               X          X         X         -
 option abortonclose                  (*)  X          -         X         X
-option accept-invalid-http-request   (deprecated) (*)  X          X         X         -
-option accept-invalid-http-response  (deprecated) (*)  X          -         X         X
-option accept-unsafe-violations-in-http-request   (*)  X          X         X         -
-option accept-unsafe-violations-in-http-response  (*)  X          -         X         X
 option allbackups                    (*)  X          -         X         X
 option checkcache                    (*)  X          -         X         X
 option clitcpka                      (*)  X          X         X         -