diff options
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r-- | src/or/circuituse.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 664f3ac8c4..69723d64cc 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -870,6 +870,10 @@ circuit_get_open_circ_or_launch(connection_t *conn, if (!has_fetched_directory) { if (!connection_get_by_type(CONN_TYPE_DIR)) { log(LOG_NOTICE,"Application request when we're believed to be offline. Optimistically trying again."); + 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); /*XXXX011NM*/ } |