]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: resolvers: Unlink DNS resolution to set RMAINT on SRV resolution
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 10 Mar 2021 20:33:21 +0000 (21:33 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Mar 2021 15:43:37 +0000 (16:43 +0100)
commitbca680ba90787fc57b9711e268f6fb0c74e7e49c
treedb8a7a70c2ca3c2ba2feda7efe034d09b7c186a5
parent5130c21fbb806a28ab4e535b700df872a80798d8
BUG/MINOR: resolvers: Unlink DNS resolution to set RMAINT on SRV resolution

When a server is set in RMAINT becaues of a SRV resolution failure, the
server DNS resolution, if any, must be unlink first. It is mandatory to
handle the change in the context of a SRV resolution.

This patch must be backported as far as 2.2.
src/resolvers.c
src/server.c