netty5/resolver-dns
Norman Maurer dde3f561bc
Use ResolvedAddressTypes.IPV4_ONLY in DnsNameResolver by default if n… (#9048)
Motivation:

To closely mimic what the JDK does we should not try to resolve AAAA records if the system itself does not support IPv6 at all as it is impossible to connect to this addresses later on. In this case we need to use ResolvedAddressTypes.IPV4_ONLY.

Modifications:

Add static method to detect if IPv6 is supported and if not use ResolvedAddressTypes.IPV4_ONLY.

Result:

More consistent behaviour between JDK and our resolver implementation.
2019-04-15 13:07:05 +02:00
..
src Use ResolvedAddressTypes.IPV4_ONLY in DnsNameResolver by default if n… (#9048) 2019-04-15 13:07:05 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2019-03-08 08:55:45 +00:00