netty5/resolver-dns/src/test/java/io/netty/resolver/dns
Norman Maurer a598c3b69b
Enforce sane upper limit for TTL in DefaultDnsCache. (#7907)
Motivation:

In b47fb81799 we limited the max supported delay to match what our internal implementat can support. Because of this it was possible that DefaultDnsCache produced an IllegalArgumentException when it tried to schedule a expiration > 3 years.

Modifications:

Limit the max supported TTL to 2 years which is safe for all our EventLoop implementations.

Result:

No more exceptions when adding records to the cache with a huge TTL.
2018-05-04 13:38:08 +02:00
..
DefaultDnsCacheTest.java Enforce sane upper limit for TTL in DefaultDnsCache. (#7907) 2018-05-04 13:38:08 +02:00
DnsNameResolverClientSubnetTest.java DNS Resovler tests should be more explicit about ndots 2017-07-12 15:49:45 -07:00
DnsNameResolverTest.java DnsAddressResolverGroup to use pluggable DnsNameResolverBuilder (#7793) 2018-04-26 08:04:01 +02:00
DnsServerAddressesTest.java DNS move JDK DNS resolution out of DnsServerAddresses static initialization 2017-04-06 18:09:58 -07:00
SearchDomainTest.java Fix typos in docs. 2018-02-14 08:44:07 +01:00
TestDnsServer.java Filter DNS results so they only contain the expected type when multiple types are present. (#7875) 2018-04-19 10:52:22 +02:00
UnixResolverDnsServerAddressStreamProviderTest.java UnixResolverDnsServerAddressStreamProvider should allow for empty /etc/resolver dir 2017-07-05 20:14:27 -04:00