CLEANUP: resolvers: do not export resolv_purge_resolution_answer_records()
authorWilly Tarreau <w@1wt.eu>
Tue, 19 Oct 2021 09:16:11 +0000 (11:16 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 3 Nov 2021 10:59:21 +0000 (11:59 +0100)
commit1ba4c97210c2796f60403a2af497bca8376b279e
tree2a62151299867953422ea613d95eb6968345f222
parent02a59af164d3d0d87a0333a9f5ae4d7b8d2ec110
CLEANUP: resolvers: do not export resolv_purge_resolution_answer_records()

This code is dangerous enough that we certainly don't want external code
to ever approach it, let's not export unnecessary functions like this one.
It was made static and a comment was added about its purpose.

(cherry picked from commit 2acc160c05c0c8dc28ecce5941451c916d29bc63)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit aab7593db39e1083a77ac792723623bd9c402273)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
include/haproxy/dns.h
src/dns.c