MINOR: dns: ability to use a SRV resolution for multiple backends
authorBaptiste Assmann <bedis9@gmail.com>
Mon, 14 Aug 2017 14:38:29 +0000 (16:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 18 Aug 2017 09:25:31 +0000 (11:25 +0200)
commit7d2a12662bec18e4a5b2b59c6174da07d2faa29f
tree362f4b03bcc51f2f9a915c7fc4ab229f31af62fd
parenta644aa8e395a9955c19ac56c9dbcbbd49e2db30c
MINOR: dns: ability to use a SRV resolution for multiple backends

Current code implementation prevents multiple backends from relying on
the same SRV resolution. Actually, only the first backend which triggers
the resolution gets updated.

This patch makes HAProxy to process the whole list of the 'curr'
requesters to apply the changes everywhere (hence, the cache also applies
to SRV records...)
src/dns.c