Skip to content

v1.9.4: Support timeout in DNS resolution and fix IPv4/IPv6 bug

Compare
Choose a tag to compare
@Geod24 Geod24 released this 21 Aug 09:06
· 502 commits to master since this release
e04258a

This release fixes a bug where resolveHost would return addresses
which would not match the requested family, e.g. asking for IPv4
on an IPv6 only host would return the IPv6 address,
as well as adding an optional timeout parameter for resolveHost,
in order to support timeout on DNS queries.
Note that the later requires the latest eventcore version (v0.9.8)
to work properly, otherwise eventcore might trigger an assert failure.