aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2014-05-05 15:31:52 +0200
committerKarsten Loesing <karsten.loesing@gmx.net>2014-05-05 15:31:52 +0200
commit5e9bd1b5db1815698f7aed6caf5df9587185a8d1 (patch)
tree1866ae7d54e804efc74e4af1c38fae625cfbd2e6 /src/or/directory.c
parent8a173635bcd85ad7375d996fb39efeaddd8c611d (diff)
downloadtor-5e9bd1b5db1815698f7aed6caf5df9587185a8d1.tar
tor-5e9bd1b5db1815698f7aed6caf5df9587185a8d1.tar.gz
Believe that v3 dirauths always serve extra infos.
Clients should always believe that v3 directory authorities serve extra-info documents, regardless of whether their server descriptor contains a "caches-extra-info" line or not. Fixes part of #11683.
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 76cb8fa0b..8b3759086 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -197,9 +197,9 @@ dir_conn_purpose_to_string(int purpose)
return "(unknown)";
}
-/** Return true iff <b>identity_digest</b> is the digest of a router we
- * believe to support extrainfo downloads. (If <b>is_authority</b> we do
- * additional checking that's only valid for authorities.) */
+/** Return true iff <b>identity_digest</b> is the digest of a router which
+ * says that it caches extrainfos. (If <b>is_authority</b> we always
+ * believe that to be true.) */
int
router_supports_extrainfo(const char *identity_digest, int is_authority)
{