From: Jerome Magnin Date: Wed, 13 May 2020 18:09:57 +0000 (+0200) Subject: DOC: retry-on can only be used with mode http X-Git-Tag: v2.1.5~8 X-Git-Url: http://git.haproxy.org/?a=commitdiff_plain;h=2be2f9e3385961dca4de4aee4976e1643749fe99;p=haproxy-2.1.git DOC: retry-on can only be used with mode http The documentation for retry-on hints at it being meant to be used in conjuction with mode http, but since we've a had bug report involving mode tcp and retry-on, lets make it explicit in the documentation that it only works with mode http and will be ignored otherwise. (cherry picked from commit 5ce3c14aa97396502fe68c6ce42a32ea99361046) Signed-off-by: Willy Tarreau --- diff --git a/doc/configuration.txt b/doc/configuration.txt index e4245bf..9226d29 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -7895,7 +7895,9 @@ retries retry-on [list of keywords] - Specify when to attempt to automatically retry a failed request + Specify when to attempt to automatically retry a failed request. + This setting is only valid when "mode" is set to http and is silently ignored + otherwise. May be used in sections: defaults | frontend | listen | backend yes | no | yes | yes Arguments :