Opened 13 years ago

Last modified 7 years ago

#401 closed defect (Fixed)

up-to-date check on dirinfo doesn't consider networkstatus freshness

Reported by: nickm Owned by: nickm
Priority: Low Milestone: 0.2.0.x-final
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: nickm, arma Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Deferred from 0.1.2.x:

? - Bug: combination of things:

When we've been idle a long time, we stop fetching server
descriptors. When we then get a socks request, we build circuits
immediately using whatever descriptors we have, rather than waiting
until we've fetched correct ones.

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (6)

comment:1 Changed 13 years ago by nickm

Could we fix this by changing update_router_have_minimum_dir_info() to say that we don't have enough dir
info to build circuits unless N of our networkstatuses are under M hours old?

comment:2 Changed 12 years ago by nickm

So, this is mostly solved: update_router_have_minimum_dir_info() says that we can't build circuits unless we have
a live networkstatus. But we still need to make it get called when the networkstatus expires.

comment:3 Changed 12 years ago by nickm

Verify that 0.2.0.x have_minimim_dir_info() does the right thing here.

comment:4 Changed 12 years ago by nickm

Fixed in r13342: I added code to call router_dir_info_changed() when the latest consensus is expired.

comment:5 Changed 12 years ago by nickm

flyspray2trac: bug closed.

comment:6 Changed 7 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.