mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
More gracefully handle corrupt state files.
Save a backup if we get odd circuitbuildtimes and other state info. In the case of circuit build times, we no longer assert, and reset our state.
This commit is contained in:
@@ -29,5 +29,7 @@
|
||||
parameter and via a LearnCircuitBuildTimeout config option. Also
|
||||
automatically disable circuit build time calculation if we are either
|
||||
a AuthoritativeDirectory, or if we fail to write our state file. Bug 1296.
|
||||
- More gracefully handle corrupt state files, removing asserts in favor
|
||||
of saving a backup and resetting state.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user