瀏覽代碼

Avoid spurious re-launch of first pending requested descriptor

svn:r5439
Nick Mathewson 18 年之前
父節點
當前提交
50ce5e1932
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/or/routerlist.c

+ 3 - 2
src/or/routerlist.c

@@ -2946,8 +2946,9 @@ router_list_downloadable(void)
         !conn->marked_for_close) {
       if (!strcmpstart(conn->requested_resource, "all"))
         n_downloadable = 0;
-      dir_split_resource_into_fingerprints(conn->requested_resource,
-                                           downloading, NULL, 1);
+      if (!strcmpstart(conn->requested_resource, "fp/"))
+        dir_split_resource_into_fingerprints(conn->requested_resource+3,
+                                             downloading, NULL, 1);
     }
   }