From cd23b65a0771ddfb1b40aae126a3abd2bf33dadf Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Thu, 10 May 2007 05:12:20 +0000 Subject: Backport candidate: count it as a failure if we fetch a valid network-status but we don't want to keep it. Otherwise we'll keep fetching it and keep not wanting to keep it. Fixes part of bug 422. svn:r10153 --- doc/spec/dir-spec-v2.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/spec/dir-spec-v2.txt b/doc/spec/dir-spec-v2.txt index 2bc46c041..f593999d9 100644 --- a/doc/spec/dir-spec-v2.txt +++ b/doc/spec/dir-spec-v2.txt @@ -658,9 +658,10 @@ $Id$ When choosing which documents to download, clients treat their list of directory authorities as a circular ring, and begin with the authority appearing immediately after the authority for their most recently - retrieved network-status document. If this attempt fails, the client - retries at other caches several times, before moving on to the next - network-status document in sequence. + retrieved network-status document. If this attempt fails (either it + fails to download at all, or the one it gets is not as good as the + one it has), the client retries at other caches several times, before + moving on to the next network-status document in sequence. Clients discard all network-status documents over 24 hours old. -- cgit v1.2.3