]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix unittest failure in bug 1660.
authorMike Perry <mikeperry-git@fscked.org>
Tue, 6 Jul 2010 15:49:50 +0000 (08:49 -0700)
committerMike Perry <mikeperry-git@fscked.org>
Tue, 6 Jul 2010 19:11:13 +0000 (12:11 -0700)
commit7bbdf71a82bb064b2ca0eb3a296b4abab6b5ff2b
treebde6a589e599d25866d7d6c7a357c33601d1bfcb
parent6bb8747ffbd18e08f9724bb8e4f2a16f22ed6612
Fix unittest failure in bug 1660.

We now record large times as abandoned, to prevent a filter step from
happening and skewing our results.

Also, issue a warn for a rare case that can happen for funky values of Xm or
too many abandoned circuits. Can happen (very rarely) during unit tests, but
should not be possble during live operation, due to network liveness filters
and discard logic.
src/or/circuitbuild.c
src/or/or.h
src/test/test.c