Explorar o código

assert_cpath_ok has always been broken
re-disable it.


svn:r1864

Roger Dingledine %!s(int64=21) %!d(string=hai) anos
pai
achega
d7815e85a7
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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) {