commit | db4c8521caefcc8ec2a26f60b4659019dc94e54d | [log] [tgz] |
---|---|---|
author | Baptiste Assmann <bedis9@gmail.com> | Tue Jan 30 08:08:04 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Apr 23 11:34:11 2019 +0200 |
tree | c5c2e5a99d836f533791c613491770dde42da0cf | |
parent | dfd35fd71ad9190a3d1f3c8358f335053b9834d8 [diff] |
MINOR: dns: move callback affection in dns_link_resolution() In dns.c, dns_link_resolution(), each type of dns requester is managed separately, that said, the callback function is affected globaly (and points to server type callbacks only). This design prevents the addition of new dns requester type and this patch aims at fixing this limitation: now, the callback setting is done directly into the portion of code dedicated to each requester type.