]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: dns: server set by SRV records stay in "no resolution" status
authorBaptiste Assmann <bedis9@gmail.com>
Mon, 14 Aug 2017 08:37:46 +0000 (10:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 22 Aug 2017 09:34:49 +0000 (11:34 +0200)
commit747359eeca03716558063ddb3e7a9ba8627282e3
tree8c4d2a712b9460a7e5b5f0953a3be8ebb780da0f
parent6ca71a9297b0f9e5a59b8adf3bc8204de5c308a4
BUG/MINOR: dns: server set by SRV records stay in "no resolution" status

This patch fixes a bug where some servers managed by SRV record query
types never ever recover from a "no resolution" status.
The problem is due to a wrong function called when breaking the
server/resolution (A/AAAA) relationship: this is performed when a server's SRV
record disappear from the SRV response.
include/proto/server.h
src/dns.c
src/server.c