MINOR: resolvers: Remove server from named_servers tree when removing a SRV item
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 15 Jun 2021 14:14:37 +0000 (16:14 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 17 Jun 2021 14:52:35 +0000 (16:52 +0200)
commit73001ab6e39fb25ff406bbcd3809d0a1fa0131b5
tree0a9bd18a2bd19ba60cdb11010de1eff8f51cc2ae
parent11c6c396560107ac892a553bfa0dada222823b1c
MINOR: resolvers: Remove server from named_servers tree when removing a SRV item

When a server is cleaned up because the corresponding SRV item is removed,
we always remove the server from the srvrq's name_servers tree. For now, it
is useless because, if a server was attached to a SRV item, it means it was
already removed from the tree. But it will be mandatory to fix a bug.
src/resolvers.c