]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: option redispatch should mention persist options
authorLukas Tribus <lukas@ltri.eu>
Wed, 5 Feb 2025 07:42:15 +0000 (07:42 +0000)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Feb 2025 16:49:13 +0000 (17:49 +0100)
"option redispatch" remains vague in which cases a session would persist;
let's mention "option persist" and "force-persist" as an example so folks
don't draw the conclusion that this may be default.

Should be backported to stable branches.

doc/configuration.txt

index 7c208c47d156a051d7a5088adfa9ec43b8bf1fd3..56d088364cfdb9a1256fe12d71cc10b042387b16 100644 (file)
@@ -10875,7 +10875,8 @@ no option redispatch
 
 
   In HTTP mode, if a server designated by a cookie is down, clients may
-  definitely stick to it because they cannot flush the cookie, so they will not
+  definitely stick to it, for example when using "option persist" or
+  "force-persist", because they cannot flush the cookie, so they will not
   be able to access the service anymore.
 
   Specifying "option redispatch" will allow the proxy to break cookie or
@@ -10908,7 +10909,7 @@ no option redispatch
   If this option has been enabled in a "defaults" section, it can be disabled
   in a specific instance by prepending the "no" keyword before it.
 
-  See also : "retries", "force-persist"
+  See also : "option persist", "force-persist", "retries"
 
 
 option redis-check