dns_cache: Support periodically saving cache files

This commit is contained in:
Nick Peng
2023-04-29 00:21:24 +08:00
parent 56d0332bf9
commit d3a6d46a44
7 changed files with 96 additions and 6 deletions

View File

@@ -459,6 +459,7 @@ extern char dns_conf_ca_path[DNS_MAX_PATH];
extern char dns_conf_cache_file[DNS_MAX_PATH];
extern int dns_conf_cache_persist;
extern int dns_conf_cache_checkpoint_time;
extern struct dns_domain_check_orders dns_conf_check_orders;