Only active relays should be given HSDir

We should only assign a relay the HSDir flag if it is currently
considered valid. We can accomplish this by only considering active
relays, and as a consequence of this we also exclude relays that are
currently hibernating. Fixes #12573
This commit is contained in:
Matthew Finkel
2014-07-09 00:08:09 +00:00
parent 48d7fceee5
commit 43bba9541a
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
o Major bugfixes:
- Relays should not be assigned the HSDir flag if they are
considered invalid. Also, do not assign the HSDir flag to relays
that are currently hibernating. Fixes #12573. Bugfix on
tor-0.2.0.10-alpha