diff options
author | Roger Dingledine <arma@torproject.org> | 2007-10-13 22:01:24 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-10-13 22:01:24 +0000 |
commit | d9ba4d3e8ba7c192c29c14952fdb16acd8b16622 (patch) | |
tree | d73945eba8e7b186cef1be6b8910fefcb2b94a80 /src | |
parent | e269feea77e7cf38a6986edcfaa2e7a2d1d33afc (diff) | |
download | tor-d9ba4d3e8ba7c192c29c14952fdb16acd8b16622.tar tor-d9ba4d3e8ba7c192c29c14952fdb16acd8b16622.tar.gz |
note a bug in directories_have_accepted_server_descriptor() pointed
out by weasel
svn:r11914
Diffstat (limited to 'src')
-rw-r--r-- | src/or/directory.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 95143449a..d949ebb1e 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -192,6 +192,10 @@ directories_have_accepted_server_descriptor(void) { smartlist_t *servers = router_get_trusted_dir_servers(); or_options_t *options = get_options(); + /* XXX020 If any authority of the needed type is down, this + * function will never return true. Perhaps we need to be + * tolerant of down servers? Or even better, should we change + * this so one successful upload is enough? -RD */ SMARTLIST_FOREACH(servers, trusted_dir_server_t *, d, { if ((d->type & options->_PublishServerDescriptor) && !d->has_accepted_serverdesc) { |