summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-06-15 02:12:15 +0000
committerRoger Dingledine <arma@torproject.org>2007-06-15 02:12:15 +0000
commit3d641bde0e6d86f924252ae0f7cd427212ef937e (patch)
tree67aed855134ca951ad8661d83069d920a39095fa /src/or/circuituse.c
parent4398a0991033331de7df5f07df7384e8b8550418 (diff)
downloadtor-3d641bde0e6d86f924252ae0f7cd427212ef937e.tar.gz
tor-3d641bde0e6d86f924252ae0f7cd427212ef937e.zip
Refine r10571: more work on bridge stuff.
- Only listen to responses for "authority" fetches if we're configured to use Bridges. Otherwise it's safe (and maybe smarter) to silently discard them like we used to. - React faster to download networkstatuses after the first bridge descriptor arrives. - Don't do dir fetches before we have any bridges, even when our dirport is open. svn:r10604
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index fef1471fdd..6ae4adac1d 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -969,10 +969,7 @@ circuit_get_open_circ_or_launch(edge_connection_t *conn,
log_notice(LD_APP|LD_DIR,
"Application request when we're believed to be "
"offline. Optimistically trying directory fetches again.");
- router_reset_status_download_failures();
- router_reset_descriptor_download_failures();
- update_networkstatus_downloads(time(NULL));
- update_router_descriptor_downloads(time(NULL));
+ routerlist_retry_directory_downloads(time(NULL));
}
/* the stream will be dealt with when router_have_minimum_dir_info becomes
* 1, or when all directory attempts fail and directory_all_unreachable()