diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-04-04 21:18:56 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-04-04 21:18:56 +0000 |
commit | 85db675911d1b4bbba755266ebaa33404c40e5de (patch) | |
tree | f1f7f28f986e8e3afa8f7e709c6ccf7e045813f8 /src/or/or.h | |
parent | 4c04b7f4f67ef1c31f6368167ad27930e983947a (diff) | |
download | tor-85db675911d1b4bbba755266ebaa33404c40e5de.tar tor-85db675911d1b4bbba755266ebaa33404c40e5de.tar.gz |
r19202@catbus: nickm | 2008-04-04 17:18:47 -0400
Make last_served_at optional; make last_listed_as_valid_until take account (partially) of v2 statuses.
svn:r14299
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index e4766ba14..71397597e 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1219,10 +1219,14 @@ typedef struct signed_descriptor_t { * routerlist->old_routers? -1 for none. */ int routerlist_index; /** The valid-until time of the most recent consensus that listed this - * descriptor. 0 for "never listed in a consensus, so far as we know." */ + * descriptor, or a bit after the publication time of the most recent v2 + * networkstatus that listed it. 0 for "never listed in a consensus or + * status, so far as we know." */ time_t last_listed_as_valid_until; +#ifdef TRACK_SERVED_TIME /** DOCDOC */ time_t last_served_at; /*XXXX021 remove if not useful. */ +#endif /* If true, we do not ever try to save this object in the cache. */ unsigned int do_not_cache : 1; /* If true, this item is meant to represent an extrainfo. */ |