]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: option prefer-last-server must be ignored in some case
authorOlivier Doucet <webmaster@ajeux.com>
Mon, 2 Jan 2017 10:48:57 +0000 (11:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 2 Jan 2017 13:26:22 +0000 (14:26 +0100)
commit1ca1b6fe3c7bea92bf1844577303eb94fbdeef4c
treeb5e33b4fa1a113c2641e5c6f92bdb1beb1b11454
parentf2592b29f13907ddf2bba42d00bc41cb8ee5b69b
BUG/MINOR: option prefer-last-server must be ignored in some case

when using "option prefer-last-server", we may not always stay on
the same backend if option balance told us otherwise.
For example, backend may change in the following cases:
balance hdr()
balance rdp-cookie
balance source
balance uri
balance url_param

[wt: backport this to 1.7 and 1.6]
src/backend.c