three more cases where maybe we want to exclude

This commit is contained in:
Roger Dingledine
2011-03-11 06:19:15 -05:00
committed by Nick Mathewson
parent 9f47cfc21a
commit 5710ea6475
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -4570,6 +4570,7 @@ launch_direct_bridge_descriptor_fetch(bridge_info_t *bridge)
return; /* it's already on the way */
address = tor_dup_addr(&bridge->addr);
/* XXX022-1090 if we ExcludeNodes this bridge, should this step fail? -RD */
directory_initiate_command(address, &bridge->addr,
bridge->port, 0,
0, /* does not matter */
+2
View File
@@ -857,6 +857,7 @@ consider_testing_reachability(int test_or, int test_dir)
log_info(LD_CIRC, "Testing %s of my ORPort: %s:%d.",
!orport_reachable ? "reachability" : "bandwidth",
me->address, me->or_port);
/* XXX022-1090 If we ExcludeNodes ourself, should this fail? -RD */
circuit_launch_by_router(CIRCUIT_PURPOSE_TESTING, me,
CIRCLAUNCH_NEED_CAPACITY|CIRCLAUNCH_IS_INTERNAL);
}
@@ -867,6 +868,7 @@ consider_testing_reachability(int test_or, int test_dir)
CONN_TYPE_DIR, &addr, me->dir_port,
DIR_PURPOSE_FETCH_SERVERDESC)) {
/* ask myself, via tor, for my server descriptor. */
/* XXX022-1090 If we ExcludeNodes ourself, should this fail? -RD */
directory_initiate_command(me->address, &addr,
me->or_port, me->dir_port,
0, /* does not matter */