Commit b3f6b55e authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

Dont expire circuits we didnt originate. This may be redundant somehow, but...

Dont expire circuits we didnt originate.  This may be redundant somehow, but better safe than sorry.


svn:r1331
parent 25614728
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -926,6 +926,7 @@ void circuit_expire_unused_circuits(void) {
    if(((tmpcirc->timestamp_dirty &&
         tmpcirc->timestamp_dirty + options.NewCircuitPeriod < now) ||
        (options.RunTesting &&
         tmpcirc->cpath &&
         tmpcirc->timestamp_created + TESTING_CIRCUIT_MAX_AGE < now))
       && !tmpcirc->p_conn
       && !tmpcirc->p_streams