Bug #23114: Time out circuits immediately.

This changes the purpose of circuits that are past the timeout to measurement
*as they are built*, ensuring accurate application of the timeout logic.
This commit is contained in:
Mike Perry
2017-12-07 00:04:09 +00:00
parent b5d4cd1b41
commit ed89588c4f
6 changed files with 145 additions and 36 deletions
+6
View File
@@ -0,0 +1,6 @@
o Minor bugfixes (Performance):
- Consider circuits for timeout as soon as they complete a hop. This
is more accurate than applying the timeout in circuit_expire_building()
because that function is only called once per second, which is now
too slow for typical timeouts on the current network. Fixes bug 23114;
bugfix on 0.2.2.2-alpha.