]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: config: fix option spop-check proxy compatibility
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 12 Jan 2023 14:06:11 +0000 (15:06 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 27 Jan 2023 14:18:59 +0000 (15:18 +0100)
The doc mentioned that spop-check option may only be used for backends.
However, option may be used in default and listen sections as well
according to the code. Let's fix the doc so that doc and code are
consistent to each other.

This could be backported to all stable versions.

doc/configuration.txt

index b01b30aec7d31270d495f78f1b99f7e17b104b96..ca1aa44015073fa433cb5bb33d5ced9e31d834ee 100644 (file)
@@ -4236,7 +4236,7 @@ option socket-stats                  (*)  X          X         X         -
 option splice-auto                   (*)  X          X         X         X
 option splice-request                (*)  X          X         X         X
 option splice-response               (*)  X          X         X         X
-option spop-check                         -          -         -         X
+option spop-check                         X          -         X         X
 option srvtcpka                      (*)  X          -         X         X
 option ssl-hello-chk                      X          -         X         X
 -- keyword -------------------------- defaults - frontend - listen -- backend -
@@ -10375,7 +10375,7 @@ no option splice-response
 option spop-check
   Use SPOP health checks for server testing
   May be used in sections :   defaults | frontend | listen | backend
-                                 no    |    no    |   no   |   yes
+                                 yes   |    no    |   yes  |   yes
   Arguments : none
 
   It is possible to test that the server correctly talks SPOP protocol instead