diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-02-11 21:29:12 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-02-11 21:29:12 +0000 |
commit | 1dc90be4f0c6e141befd2fd655f30595bb7138ef (patch) | |
tree | 6e4b7824c760cf245e3d34d3644d10121fe21bc5 /src | |
parent | 91847124bfc37c745cc2de52da98bab739fac3de (diff) | |
download | tor-1dc90be4f0c6e141befd2fd655f30595bb7138ef.tar.gz tor-1dc90be4f0c6e141befd2fd655f30595bb7138ef.zip |
Retry pending server downloads as well as pending networkstatus downloads when we unexpectedly get an app connection
svn:r5962
Diffstat (limited to 'src')
-rw-r--r-- | src/or/circuituse.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index a3b356a512..9bb83e9d60 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -913,9 +913,7 @@ circuit_get_open_circ_or_launch(connection_t *conn, router_reset_status_download_failures(); router_reset_descriptor_download_failures(); update_networkstatus_downloads(time(NULL)); - - /* XXXX011 NM This should be a generic "retry all directory fetches". */ - directory_get_from_dirserver(DIR_PURPOSE_FETCH_DIR, NULL, 1); + update_router_descriptor_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() |