]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: stream: don't force retries if the server is DOWN
authorWilly Tarreau <w@1wt.eu>
Wed, 13 Jan 2016 06:58:44 +0000 (07:58 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Jan 2016 13:36:20 +0000 (14:36 +0100)
commit49008c157e762c7ed31f9c88ad54b6d6c42fbd77
treec676d4b4974e943032bac84e486b76561746e4db
parent484b53da5218034898964d8270da0d27f9de66a0
BUG/MINOR: stream: don't force retries if the server is DOWN

Arkadiy Kulev noticed that if a server is marked down while a connection
is being trying to establish, we still insist on performing retries on
the same server, which is absurd. Better perform the redispatch if we
already know the server is down. Because of this, it's likely that the
observe-l4 and sudden-death mechanisms are not optimal an cannot help
much the connection which was used to detect the problem.

The fix should be backported to 1.6 and 1.5 at least.
src/stream.c