netty5/resolver-dns/src
Koji Lin c4754cf7b8
Fix DnsNameResolver may have LEAK ByteBuf after cancelling the returned future (#10448)
Motivation:

If we cancel the returned future of resolve query, we may get LEAK. Try to release the ByteBuf if netty can't pass the DnsRawRecord to the caller.

Modification:

Using debug mode I saw there are two places that don't handle trySuccess with release. Try to release there.

Result:

Fixes #10447.
2020-08-03 07:58:03 +02:00
..
main/java/io/netty/resolver/dns Fix DnsNameResolver may have LEAK ByteBuf after cancelling the returned future (#10448) 2020-08-03 07:58:03 +02:00
test We should fail fast when a CNAME loop is detected (#10305) 2020-05-20 07:10:16 +02:00