]> git.kaiwu.me - haproxy.git/commit
BUG: dns: can't connect UDP socket on FreeBSD
authorBaptiste Assmann <bedis9@gmail.com>
Mon, 21 Sep 2015 18:55:08 +0000 (20:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 22 Sep 2015 14:06:41 +0000 (16:06 +0200)
commit8c62c47cb287ab25623505ed491a01d3b940f801
tree452d034ce6deb7fdb6d07cb0353237461fb032d7
parenta9937f9519d8d41fe11ec2d07f0d3ce91e912da5
BUG: dns: can't connect UDP socket on FreeBSD

PiBANL reported that HAProxy's DNS resolver can't "connect" its socker
on FreeBSD.
Remi Gacogne reported that we should use the function 'get_addr_len' to
get the addr structure size instead of sizeof.
src/dns.c