]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: retry-on can only be used with mode http
authorJerome Magnin <jmagnin@haproxy.com>
Wed, 13 May 2020 18:09:57 +0000 (20:09 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 14 May 2020 07:43:13 +0000 (09:43 +0200)
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.

doc/configuration.txt

index 7594992b4613b475452c91746078540abd239050..3071c655d3d94c76fecaf63c53854ee8a952cdf7 100644 (file)
@@ -8749,7 +8749,9 @@ retries <value>
 
 
 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 :