diff options
author | Neel Chauhan <neel@neelc.org> | 2018-07-16 17:36:22 -0400 |
---|---|---|
committer | Neel Chauhan <neel@neelc.org> | 2018-07-17 09:19:27 -0400 |
commit | 32db806dfa85b016a2d56d0d5248f17c34b690c4 (patch) | |
tree | c503d6ffcd6e160fb4f9deb7e8c6ddbe95d2f0dc /src/feature/relay/dns.h | |
parent | d807ca1b014e27a2808959dba1a37a0c1d53240f (diff) | |
download | tor-32db806dfa85b016a2d56d0d5248f17c34b690c4.tar.gz tor-32db806dfa85b016a2d56d0d5248f17c34b690c4.zip |
Teach the OOM handler about the DNS cache
Diffstat (limited to 'src/feature/relay/dns.h')
-rw-r--r-- | src/feature/relay/dns.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/relay/dns.h b/src/feature/relay/dns.h index 1d5266c73f..1dd6f903d1 100644 --- a/src/feature/relay/dns.h +++ b/src/feature/relay/dns.h @@ -40,6 +40,7 @@ int dns_seems_to_be_broken_for_ipv6(void); void dns_reset_correctness_checks(void); size_t dns_cache_total_allocation(void); void dump_dns_mem_usage(int severity); +size_t dns_cache_handle_oom(time_t now, size_t min_remove_bytes); #ifdef DNS_PRIVATE #include "feature/relay/dns_structs.h" |