[tor-commits] [tor/master] Add an XXX to the DA code regarding bug 2722
nickm at torproject.org
nickm at torproject.org
Fri Apr 29 00:38:19 UTC 2011
commit 134da2fbcf865418863bda8d4c479a20f6f6651d
Author: Robert Ransom <rransom.8774 at gmail.com>
Date: Mon Apr 18 12:00:48 2011 -0700
Add an XXX to the DA code regarding bug 2722
---
src/or/dirserv.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index f65f258..525524c 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1811,6 +1811,8 @@ dirserv_thinks_router_is_hs_dir(routerinfo_t *router, time_t now)
* bug 1693. In the future, once relays set wants_to_be_hs_dir
* correctly, we can revert to only checking dir_port if router's
* version is too old. */
+ /* XXX Unfortunately, we need to keep checking dir_port until all
+ * *clients* suffering from bug 2722 are obsolete. */
return (router->wants_to_be_hs_dir && router->dir_port &&
uptime > get_options()->MinUptimeHidServDirectoryV2 &&
router->is_running);
More information about the tor-commits
mailing list