Back to Envoy

Dns Resolver Fixed A Memory Leak In The Hickory Dns

changelogs/current/bug_fixes/dns_resolver__fixed-a-memory-leak-in-the-hickory-dns.rst

1.39.0338 B
Original Source

Fixed a memory leak in the Hickory DNS resolver where ActiveDnsQuery::cancel() did not free the pending query state or decrement the pending_resolutions gauge. Cancelled queries now release their shell object, Rust-side query box, and gauge tick synchronously, matching the contract followed by the c-ares and Apple DNS resolvers.