tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 8345b3bd92fb126a65ee096914f84f512d20614a
parent 1c77deca4f8e8027eaf130b6454af758e4d9ccc4
Author: Nick Mathewson <nickm@torproject.org>
Date:   Tue,  9 Nov 2021 08:46:36 -0500

Stop using published_on to decide whether to republish.

Thanks to the StaleDesc flag, this is not something we need to look
at any longer.

Diffstat:
Msrc/feature/relay/router.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/feature/relay/router.c b/src/feature/relay/router.c @@ -2554,8 +2554,6 @@ mark_my_descriptor_dirty_if_too_old(time_t now) rs = networkstatus_vote_find_entry(ns, server_identitykey_digest); if (rs == NULL) retry_fast_reason = "not listed in consensus"; - else if (rs->published_on < slow_cutoff) - retry_fast_reason = "version listed in consensus is quite old"; else if (rs->is_staledesc && ns->valid_after > desc_clean_since) retry_fast_reason = "listed as stale in consensus"; }