netty5/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
..
src Enforce sane upper limit for TTL in DefaultDnsCache. (#7907) 2018-05-04 13:38:08 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2018-04-19 11:56:07 +00:00