]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: dns: give ability to dns_init_resolvers() to close a socket when requested
authorBaptiste Assmann <bedis9@gmail.com>
Thu, 2 Feb 2017 21:44:15 +0000 (22:44 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Feb 2017 06:21:32 +0000 (07:21 +0100)
commit5cd1b9222eabcd73f387fd65b075b2af59014558
tree94cf0f8db4429b14ffdbb81b0619156af069efee
parent4dc7197338e83610290e78d8a9e579e8e9013391
MINOR: dns: give ability to dns_init_resolvers() to close a socket when requested

The function dns_init_resolvers() is used to initialize socket used to
send DNS queries.
This patch gives the function the ability to close a socket before
re-opening it.

[wt: this needs to be backported to 1.7 for next fix]
include/proto/dns.h
src/dns.c
src/haproxy.c