diff options
author | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2016-01-12 14:15:22 +1100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-01-12 10:10:05 -0500 |
commit | da968e558e89b3ee9201d6c9cdd339ef48979071 (patch) | |
tree | 7fc20c8c788aa4a5240474d144aea0030283feec /changes | |
parent | 16840e52e594e221069efc9bf7b65ebfb5e2d639 (diff) | |
download | tor-da968e558e89b3ee9201d6c9cdd339ef48979071.tar.gz tor-da968e558e89b3ee9201d6c9cdd339ef48979071.zip |
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".
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug18035 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/bug18035 b/changes/bug18035 new file mode 100644 index 0000000000..31889f5723 --- /dev/null +++ b/changes/bug18035 @@ -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. |