MINOR: resolvers: Use a function to remove answers attached to a resolution
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 10 Mar 2021 13:40:39 +0000 (14:40 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 16 Mar 2021 08:33:53 +0000 (09:33 +0100)
commit656b42714a05e578c0480f1751a065d8e96f8f3a
tree486082a9637e0a06f3440f42cd33f5cc225f66b4
parent02cf7b78bf2b0594a4531bfc733e1f8d7d1f42d7
MINOR: resolvers: Use a function to remove answers attached to a resolution

resolv_purge_resolution_answer_records() must be used to removed all answers
attached to a resolution. For now, it is only used when a resolution is
released.

(cherry picked from commit 1dec5c793474027ddffbfca3849e5ca4e9e51083)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
include/haproxy/dns.h
src/dns.c