]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: server: Don't reset resolver options on a new default-server line
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 24 May 2024 14:30:59 +0000 (16:30 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 24 May 2024 14:31:01 +0000 (16:31 +0200)
commit0d7c1bc6ab694b0d7bcb66d6ff7158d12998de76
tree0d84ae3732d914aad68a6a3b560a9f17c21c28b7
parent8d2514e0872a597e2f72659924aa67352b78c4d4
BUG/MINOR: server: Don't reset resolver options on a new default-server line

When a new "default-server" line is parsed, some resolver options are reset.
Thus previously defined default options cannot be inherited. There is no
reason to do so. First because other server options are inherited. And then
because not all resolver options are reset. It is not consistent.

This patch should fix issue #2559. It should be backported to all stable
versions.
src/server.c