aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2011-03-11 06:19:15 -0500
committerNick Mathewson <nickm@torproject.org>2011-04-26 23:54:15 -0400
commit5710ea64757cf0b36ab6d97409bbb9213116f949 (patch)
tree65f46a9e3f7f4d04ebc7394914f1a6d4b1bf27fe
parent9f47cfc21a8fa91b98a48291c316121135fa3f17 (diff)
downloadtor-5710ea64757cf0b36ab6d97409bbb9213116f949.tar
tor-5710ea64757cf0b36ab6d97409bbb9213116f949.tar.gz
three more cases where maybe we want to exclude
-rw-r--r--src/or/circuitbuild.c1
-rw-r--r--src/or/router.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index b8a82e886..4fa87c018 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -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 */
diff --git a/src/or/router.c b/src/or/router.c
index c15b9b236..6993e1eb0 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -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 */