summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-05-13 07:44:21 +0000
committerRoger Dingledine <arma@torproject.org>2004-05-13 07:44:21 +0000
commitd7815e85a79d752d2460b18884c0db859c0d0a18 (patch)
tree23a18a4e39fd492599998e5eec1e5bc4941c553d
parentef561c0e42dcd33a2ca8ee29a582dd68da32f3be (diff)
downloadtor-d7815e85a79d752d2460b18884c0db859c0d0a18.tar.gz
tor-d7815e85a79d752d2460b18884c0db859c0d0a18.zip
assert_cpath_ok has always been broken
re-disable it. svn:r1864
-rw-r--r--src/or/circuitlist.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index 33066cf743..81926e8e36 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -423,6 +423,7 @@ static void
{
while(cp->prev)
cp = cp->prev;
+ //XXX this is broken. cp is a doubly linked list.
while(cp->next) {
assert_cpath_layer_ok(cp);
@@ -478,7 +479,8 @@ void assert_circuit_ok(const circuit_t *c)
}
}
if (c->cpath) {
- assert_cpath_ok(c->cpath);
+// assert_cpath_ok(c->cpath);
+// XXX the above call causes an infinite loop.
}
if (c->purpose == CIRCUIT_PURPOSE_REND_ESTABLISHED) {
if (!c->marked_for_close) {