commit | ba0244b3b03f34821e6e7df7b8b28a2840344fa8 | [log] [tgz] |
---|---|---|
author | Baptiste Assmann <bedis9@gmail.com> | Mon Oct 21 15:13:48 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jan 24 15:57:15 2020 +0100 |
tree | fd893f503f9afc1d81fef31606cdf7fef532f894 | |
parent | ae7dbbf92f54744e9d1dd085c5a1b2b0130402bb [diff] |
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 (cherry picked from commit 25e6fc2030552499e42f202a2496e7f9bc634005) Signed-off-by: Willy Tarreau <w@1wt.eu>