summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-05 15:53:04 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-05 20:54:14 -0400
commit9d4c32dd2f7d889a8b1ae97fbffcb4b549f5bb0f (patch)
tree3068dc348a7559f20d38740dfedd194d5c5f88f8 /src/or/routerparse.c
parent711100c5971f5e14e741cca0ad52c85201383830 (diff)
downloadtor-9d4c32dd2f7d889a8b1ae97fbffcb4b549f5bb0f.tar.gz
tor-9d4c32dd2f7d889a8b1ae97fbffcb4b549f5bb0f.zip
Now that 0.2.3.1-alpha is out, require it for microdesc fetches
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 163cc37240..0410e5e37e 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -2095,6 +2095,12 @@ routerstatus_parse_entry_from_string(memarea_t *area,
tor_version_as_new_as(tok->args[0], "0.2.0.8-alpha");
rs->version_supports_conditional_consensus =
tor_version_as_new_as(tok->args[0], "0.2.1.1-alpha");
+ /* XXXX023 NM microdescs: 0.2.3.1-alpha isn't widely used yet, but
+ * not all 0.2.3.0-alpha "versions" actually support microdesc cacheing
+ * right. There's a compromise here. Since this is 5 May, let's
+ * err on the side of having some possible caches to use. Once more
+ * caches are running 0.2.3.1-alpha, we can bump this version number.
+ */
rs->version_supports_microdesc_cache =
tor_version_as_new_as(tok->args[0], "0.2.3.0-alpha");
}