[or-cvs] Avoid spurious re-launch of first pending requested descrip...
Nick Mathewson
nickm at seul.org
Tue Nov 22 02:20:08 UTC 2005
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv20119/src/or
Modified Files:
routerlist.c
Log Message:
Avoid spurious re-launch of first pending requested descriptor
Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.374
retrieving revision 1.375
diff -u -d -r1.374 -r1.375
--- routerlist.c 19 Nov 2005 11:04:00 -0000 1.374
+++ routerlist.c 22 Nov 2005 02:20:05 -0000 1.375
@@ -2946,8 +2946,9 @@
!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);
}
}
More information about the tor-commits
mailing list