Commit 1dc90be4 authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

Retry pending server downloads as well as pending networkstatus downloads when...

Retry pending server downloads as well as pending networkstatus downloads when we unexpectedly get an app connection


svn:r5962
parent 91847124
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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()