]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] queue: don't dequeue proxy-global requests on disabled servers
authorWilly Tarreau <w@1wt.eu>
Fri, 6 Aug 2010 08:08:23 +0000 (10:08 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 17 Aug 2010 19:39:07 +0000 (21:39 +0200)
commitd132f746f27cfdf8438f74a56c435fc920406392
tree42811328e8419dcfb59505839c17d05d0a4a6e24
parent4d179ebd21b768bffee9cb28baa81a517dd7ac50
[BUG] queue: don't dequeue proxy-global requests on disabled servers

If a server is disabled or tracking a disabled server, it must not
dequeue requests pending in the proxy queue, it must only dequeue
its own ones.

The problem that was caused is that if a backend always had requests
in its queue, a disabled server would continue to take traffic forever.

(was commit 09d02aaf02d1f21c0c02672888f3a36a14bdd299 in 1.4)
src/queue.c