diff options
author | Roger Dingledine <arma@torproject.org> | 2010-04-20 03:03:33 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2010-04-20 03:03:33 -0400 |
commit | 2e692bd8c98c841adf4ae568ad5a7d87f7de2319 (patch) | |
tree | 3e4bca6e2b34c1e85709bdce6d7d4ca199d26825 /src/or/dirvote.c | |
parent | 77babb832a128d6479dee5f7e37b03de566c1a14 (diff) | |
download | tor-2e692bd8c98c841adf4ae568ad5a7d87f7de2319.tar.gz tor-2e692bd8c98c841adf4ae568ad5a7d87f7de2319.zip |
fetch unknown descriptors if we see them in a vote
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r-- | src/or/dirvote.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c index 6aa34590cc..6053e50902 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -2685,6 +2685,9 @@ dirvote_add_vote(const char *vote_body, const char **msg_out, int *status_out) goto err; } + /* Fetch any new router descriptors we just learned about */ + update_consensus_router_descriptor_downloads(time(NULL), 1, vote); + /* Now see whether we already have a vote from this authority. */ SMARTLIST_FOREACH(pending_vote_list, pending_vote_t *, v, { if (! memcmp(v->vote->cert->cache_info.identity_digest, |