]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: fwlc: Count an avoided server as unusable.
authorOlivier Houchard <cognet@ci0.org>
Fri, 20 Jun 2025 13:06:04 +0000 (15:06 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 20 Jun 2025 13:29:51 +0000 (15:29 +0200)
commite28e647fef43e5865c87f328832fec7794a423e5
tree87a26c90cd13fc43992df8e2b589334ad0abd109
parent4527a2912bf8d33d3f1e26f3dd3cffffce474abd
BUG/MAJOR: fwlc: Count an avoided server as unusable.

When fwlc_get_next_server(), if a server to avoid has been provided, and
we have to ignore it, don't forget to increase the number of unusable
servers, otherwise we may end up ignoring it over and over, never
switching to another server, in an infinite loop until the process gets
killed.
This hopefully fixes Github issues #3004 and #3014.

This should be backported to 3.2.
src/lb_fwlc.c