Created attachment 182699 [details]
Copy of the dns.c patch that fixes kqueue handling
HAProxy 1.7.3 introduced changes to DNS that broke kqueue event handling on FreeBSD when DNS resolvers are present in the haproxy configuration.
Thus, anyone running haproxy 1.7.3 and later on FreeBSD (at least 10.3 and 11) with DNS resolvers will see HAProxy completely fail to pass traffic or respond on its management socket.
The HAProxy project has committed a fix which I have tested and found to work, and others will likely benefit from the fix as well. Until they have the fix in a release, it would be great to have this added to the port directly so others do not experience this broken behavior.
I have attached the patch to this PR and it can also be found on their git tree here:
Additional information can be found in the HAProxy mailing list archive:
A commit references this bug:
Date: Thu May 18 19:22:57 UTC 2017
New revision: 441193
Add a patch from upstream to fix haproxy operations when dynamic dns
resolvers are used.
Submitted by: firstname.lastname@example.org
Forgotten to close?