浏览代码

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

svn:r5962
Nick Mathewson 19 年之前
父节点
当前提交
1dc90be4f0
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      src/or/circuituse.c

+ 1 - 3
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()