]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: dns: enable caching of responses for server set by a SRV record
authorBaptiste Assmann <bedis9@gmail.com>
Mon, 14 Aug 2017 14:35:45 +0000 (16:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 18 Aug 2017 09:25:41 +0000 (11:25 +0200)
commit6fb8192b28a90d75cb1c40f8ad472c72ff335a66
treeaca8d2403ce66f6daebcb7aaee86314b05c427a1
parent7d2a12662bec18e4a5b2b59c6174da07d2faa29f
MINOR: dns: enable caching of responses for server set by a SRV record

The function srv_set_fqdn() is used to update a server's fqdn and set
accordingly its DNS resolution.
Current implementation prevents a server whose update is triggered by a
SRV record from being linked to an existing resolution in the cache (if
applicable).
This patch aims at fixing this.
src/server.c