diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-05-10 16:26:45 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-10 16:26:45 -0400 |
commit | 8f5da804da5a8cd486478f8bf2fea1f47a025225 (patch) | |
tree | d595e7d67a0d1d36e6a985a25cbe01d6286886b3 | |
parent | 0df22e8f5f5c4e1a329f2930f6eb9ecde1cf9848 (diff) | |
parent | 85cf6dcba3693bbd1264e5fae05346ddf1909b85 (diff) | |
download | tor-8f5da804da5a8cd486478f8bf2fea1f47a025225.tar.gz tor-8f5da804da5a8cd486478f8bf2fea1f47a025225.zip |
Merge branch 'prop275_minimal_029' into maint-0.2.9
-rw-r--r-- | changes/prop275-minimal | 9 | ||||
-rw-r--r-- | src/or/networkstatus.c | 5 |
2 files changed, 9 insertions, 5 deletions
diff --git a/changes/prop275-minimal b/changes/prop275-minimal new file mode 100644 index 0000000000..83d42f850b --- /dev/null +++ b/changes/prop275-minimal @@ -0,0 +1,9 @@ + o Minor features (future-proofing): + + - Tor no longer refuses to download microdescriptors or descriptors if + they are listed as "published in the future". This change will + eventually allow us to stop listing meaningful "published" dates + in microdescriptor consensuses, and thereby allow us to reduce the + resources required to download consensus diffs by over 50%. + Implements part of ticket 21642; implements part of proposal 275. + diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 2d39c90380..991cf80121 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -2360,11 +2360,6 @@ client_would_use_router(const routerstatus_t *rs, time_t now, * But, if we want to have a complete list, fetch it anyway. */ return 0; } - if (rs->published_on + options->TestingEstimatedDescriptorPropagationTime - > now) { - /* Most caches probably don't have this descriptor yet. */ - return 0; - } if (rs->published_on + OLD_ROUTER_DESC_MAX_AGE < now) { /* We'd drop it immediately for being too old. */ return 0; |