netty5/resolver-dns/src
Norman Maurer 82ec6ba815
Correctly detect and handle CNAME loops. (#8691)
Motivation:

We do not correctly detect loops when follow CNAMEs and so may try to follow it without any success.

Modifications:

- Correctly detect CNAME loops
- Do not cache CNAME entries which point to itself
- Add unit test.

Result:

Fixes https://github.com/netty/netty/issues/8687.
2019-01-14 08:17:44 +01:00
..
main/java/io/netty/resolver/dns Correctly detect and handle CNAME loops. (#8691) 2019-01-14 08:17:44 +01:00
test Correctly detect and handle CNAME loops. (#8691) 2019-01-14 08:17:44 +01:00