]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[DOC] documentation for the "retries" parameter was missing.
authorWilly Tarreau <w@1wt.eu>
Fri, 20 Jun 2008 15:27:19 +0000 (17:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 20 Jun 2008 15:27:19 +0000 (17:27 +0200)
doc/configuration.txt

index 65404f5649951b0cb4f3d952cfb51f631a8c8a54..6e4366662335248cce2303db63b8a93e6263a5b8 100644 (file)
@@ -2590,6 +2590,28 @@ reqitarpit <search>  (ignore case)
             manipulation
 
 
+retries <value>
+  Set the number of retries to perform on a server after a connection failure
+  May be used in sections:    defaults | frontend | listen | backend
+                                 yes   |    no    |   yes  |   yes
+  Arguments :
+    <value>   is the number of times a connection attempt should be retried on
+              a server when a connection either is refused or times out. The
+              default value is 3.
+
+  It is important to understand that this value applies to the number of
+  connection attempts, not full requests. When a connection has effectively
+  been established to a server, there will be no more retry.
+
+  In order to avoid immediate reconnections to a server which is restarting,
+  a turn-around timer of 1 second is applied before a retry occurs.
+
+  When "option redispatch" is set, the last retry may be performed on another
+  server even if a cookie references a different server.
+
+  See also : "option redispatch"
+
+
 rspadd <string>
   Add a header at the end of the HTTP response
   May be used in sections :   defaults | frontend | listen | backend