mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix various issues with fallback directory data handling
* support maximum history age in _avg_generic_history() * fix division-by-zero trap in _avg_generic_history() * skip missing (i.e. null/None) intervals in _avg_generic_history() * Python timedelta.total_seconds() function not available in 2.6; replace with equivalent expression * set DEBUG logging level to make relay exclusion reasons visible * move CUTOFF_GUARD test to end in order to expose more exclusion reasons Patch by "starlight", merge modifications by "teor".
This commit is contained in:
committed by
Nick Mathewson
parent
16840e52e5
commit
da968e558e
@@ -0,0 +1,6 @@
|
||||
o Minor fixes (fallback directories):
|
||||
- Work around an issue where OnionOO supplies the entire history,
|
||||
rather than the requested 120 days. Activate debug logging by
|
||||
default. Fix other minor calculation and compatibility issues.
|
||||
Closes ticket #18035. Patch by "starlight", merge fixes by
|
||||
"teor". Not in any released version of tor.
|
||||
Reference in New Issue
Block a user