Browse Source

assert_cpath_ok has always been broken
re-disable it.


svn:r1864

Roger Dingledine 21 years ago
parent
commit
d7815e85a7
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/or/circuitlist.c

+ 3 - 1
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) {