diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-15 09:38:17 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-15 09:38:17 +0000 |
commit | dbd4dadff7dc7734d86feef626cc791120a75f69 (patch) | |
tree | c2229f76bd51fe4b46d8cf5479c3a8815ba0d53b /src/or/dirserv.c | |
parent | 50c15943a28934a7977908ed91c27b7644d5fd92 (diff) | |
download | tor-dbd4dadff7dc7734d86feef626cc791120a75f69.tar.gz tor-dbd4dadff7dc7734d86feef626cc791120a75f69.zip |
Authoritative dirservers now also cache the directory, since
they weren't writing anything into their datadirectory, so
when they stop and start, they would know nothing until they
fetched a directory from another authdirserver.
svn:r2891
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 3902929341..f2946f9082 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -713,7 +713,6 @@ void dirserv_set_cached_directory(const char *directory, time_t when, { time_t now; cached_dir_t *d; - tor_assert(!get_options()->AuthoritativeDir); now = time(NULL); d = is_running_routers ? &cached_runningrouters : &cached_directory; if (when<=d->published) { |