]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: dns: allow srv record weight set to 0
authorBaptiste Assmann <bedis9@gmail.com>
Mon, 21 Oct 2019 13:13:48 +0000 (15:13 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 22 Oct 2019 11:44:12 +0000 (13:44 +0200)
commit25e6fc2030552499e42f202a2496e7f9bc634005
treeda41dd930dec20912db3df56e3ed85e41f399639
parent04068a193916b6a187e8b3e6f1f74b4409664f9d
BUG/MINOR: dns: allow srv record weight set to 0

Processing of SRV record weight was inaccurate and when a SRV record's
weight was set to 0, HAProxy enforced it to '1'.
This patch aims at fixing this without breaking compability with
previous behavior.

Backport status: 1.8 to 2.0
src/dns.c