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: http://git.haproxy.org/?p=haproxy.git;a=commitdiff;h=64920538fc19f3c7f94dfa1e84a9a6569b8c3d37 Additional information can be found in the HAProxy mailing list archive: https://www.mail-archive.com/haproxy@formilux.org/msg26040.html Thanks, Jim P.
A commit references this bug: Author: demon Date: Thu May 18 19:22:57 UTC 2017 New revision: 441193 URL: https://svnweb.freebsd.org/changeset/ports/441193 Log: Add a patch from upstream to fix haproxy operations when dynamic dns resolvers are used. PR: 219379 Submitted by: jimp@pfsense.org Changes: head/net/haproxy/Makefile head/net/haproxy/files/patch-fix-dns
Committed, thanks!
Forgotten to close?
yes...