]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: session: redispatch earlier when possible
authorWilly Tarreau <w@1wt.eu>
Fri, 13 Jun 2014 15:49:40 +0000 (17:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 Jun 2014 15:53:55 +0000 (17:53 +0200)
commit33a14e515bdbb02d8193bd870f3b659243a851f9
tree6b1b84f7d77e9021270f6edc5c51591de9f55721
parentdb6d012270be8184a287aabc7f670e209b243aa6
MEDIUM: session: redispatch earlier when possible

As discussed with Dmitry Sivachenko, is a server farm has more than one
active server, uses a guaranteed non-determinist algorithm (round robin),
and a connection was initiated from a non-persistent connection, there's
no point insisting to reconnect to the same server after a connect failure,
better redispatch upon the very first retry instead of insisting on the same
server multiple times.
src/session.c