netty5/resolver-dns/src
Norman Maurer f3c6da32d7 Fix concurrency issue in DnsNameResolver when DefaultDnsCache is used.
Motivation:

We need to ensure we only call List.* methods in the synchronized block as the returned List may not be thread-safe.

Modifications:

Do not call isEmpty() outside of the synchronized block.

Result:

Fixes [#7583]
2018-01-17 06:08:36 +01:00
..
main/java/io/netty/resolver/dns Fix concurrency issue in DnsNameResolver when DefaultDnsCache is used. 2018-01-17 06:08:36 +01:00
test Update domains in DnsNameResolverTest 2018-01-02 19:08:40 -05:00