You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0c4d189
Browse filesBrowse the repository at this point in the historyBrowse files
Connect to IP literals using their own address family (#552)
* transport: Ensure that numeric IP literals use correct family
When the address was an IP literal, gen_tcp got the wrong family and
treated it as a hostname. Mint then returned :nxdomain from the IPv4
fallback instead of the real error, after an unneeded DNS lookup and
timeouts.
- connect to IPv6 literals over inet6 and IPv4 literals over inet,
ignoring :inet6 and :inet4
- keep the inet6-then-inet4 fallback for hostnames
- apply the same change to TCP and SSL
* Merge address family clauses and drop changelog entry
Connect IP literals through one clause for both families, drop the
redundant is_tuple/1 guards, and remove the Unreleased changelog
section since the changelog is written at release time.
---------
Co-authored-by: Dave Cottlehuber <dch@skunkwerks.at>
0 commit comments