mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
Merge branch 'maint-0.3.0'
This commit is contained in:
commit
1a497dcd1e
9
changes/prop275-minimal
Normal file
9
changes/prop275-minimal
Normal file
@ -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.
|
||||
|
@ -2477,11 +2477,6 @@ client_would_use_router(const routerstatus_t *rs, time_t now,
|
||||
* (Fetching and storing depends on by we_want_to_fetch_flavor().) */
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user