浏览代码

re-enable dirport testing again
(still need the other half, to notice when it has worked.)


svn:r5152

Roger Dingledine 20 年之前
父节点
当前提交
54a662a542
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/or/router.c

+ 3 - 1
src/or/router.c

@@ -447,7 +447,9 @@ consider_testing_reachability(void)
   }
 
   if (!check_whether_dirport_reachable()) {
-    directory_initiate_command_router(me, DIR_PURPOSE_FETCH_DIR, 1, NULL, NULL, 0);
+    /* ask myself, via tor, for my server descriptor. */
+    directory_initiate_command_router(me, DIR_PURPOSE_FETCH_SERVERDESC,
+                                      1, "authority", NULL, 0);
   }
 }