mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
relay: Remove dirport reachability self test
Regular relays are about to get their DirPort removed so that reachability test is not useful anymore Authorities will still use the DirPort but because network reentry towards their DirPort is now denied network wide, this test is not useful anymore and so it should simply be considered reachable at all time. Part of #40282 Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
@@ -1146,7 +1146,7 @@ directory_info_has_arrived(time_t now, int from_cache, int suppress_logs)
|
||||
|
||||
if (server_mode(options) && !net_is_disabled() && !from_cache &&
|
||||
(have_completed_a_circuit() || !any_predicted_circuits(now)))
|
||||
router_do_reachability_checks(1, 1);
|
||||
router_do_reachability_checks();
|
||||
}
|
||||
|
||||
/** Perform regular maintenance tasks for a single connection. This
|
||||
|
||||
Reference in New Issue
Block a user