소스 검색

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);
     }
   }