Discard router descriptors as we load them if they are more than
commitc123163043e42668c3597298e14d25607a2d4623
authorRoger Dingledine <arma@torproject.org>
Wed, 7 Jan 2009 02:13:42 +0000 (7 02:13 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 7 Jan 2009 02:13:42 +0000 (7 02:13 +0000)
tree1b56d3ec82909df8d89c9a695bc1e482e386b0d0
parent18ffea77ae42a91e0028437f6c58253e2e3b0e99
Discard router descriptors as we load them if they are more than
five days old. Otherwise if Tor is off for a long time and then
starts with cached descriptors, it will try to use the onion
keys in those obsolete descriptors when building circuits. Bugfix
on 0.2.0.x. Fixes bug 887.

svn:r17993
ChangeLog
src/or/routerlist.c