]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: backend: only update server's counters when the server exists
authorWilly Tarreau <w@1wt.eu>
Sat, 15 Dec 2018 14:11:36 +0000 (15:11 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 15 Dec 2018 14:13:10 +0000 (15:13 +0100)
commitcc79ed28f6d6931a3c87c0d3ab397b8dae20bbbd
treef0d614643d36ae394cf42dd1045dda6eacd684c2
parent37dd54d8d459e190c88f18bf8d99a733596fb7df
BUG/MAJOR: backend: only update server's counters when the server exists

PiBa-NL reported that since this commit f157384 ("MINOR: backend: count
the number of connect and reuse per server and per backend"), reg-test
connection/h00001 fails. Indeed it does, the server is not checked for
existing prior to updating its counter. It should also fail with
transparent mode.
src/backend.c