From: Aurelien DARRAGON Date: Thu, 12 Jan 2023 14:06:11 +0000 (+0100) Subject: DOC: config: fix option spop-check proxy compatibility X-Git-Tag: v2.8-dev3~60 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3a2ae7c6354bfbb1054a54d46658cf4410fd4bb;p=thirdparty%2Fhaproxy.git DOC: config: fix option spop-check proxy compatibility 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. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index b01b30aec7..ca1aa44015 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -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