78be8ee2f5
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. |
||
---|---|---|
.. | ||
java/io/netty/resolver/dns |