mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Fix a server-side crash on DNS init
This commit is contained in:
parent
70f337fdb2
commit
d3cb659541
@ -2201,10 +2201,12 @@ dns_servers_relaunch_checks(void)
|
||||
{
|
||||
if (server_mode(get_options())) {
|
||||
dns_reset_correctness_checks();
|
||||
if (periodic_events_initialized) {
|
||||
tor_assert(check_dns_honesty_event);
|
||||
periodic_event_reschedule(check_dns_honesty_event);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** Called when we get a SIGHUP: reload configuration files and keys,
|
||||
* retry all connections, and so on. */
|
||||
|
Loading…
Reference in New Issue
Block a user