aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-04-28 10:05:32 -0400
committerNick Mathewson <nickm@torproject.org>2011-04-28 21:06:07 -0400
commitcd42ae71850985ed8dd34ae73dc6265a643fcb13 (patch)
tree817a5ce16100a1d049328dd6b450d608ec215e28 /src/or/config.c
parent0130e7c9d2842ad58e1b84829aeab16a2efba3bb (diff)
downloadtor-cd42ae71850985ed8dd34ae73dc6265a643fcb13.tar
tor-cd42ae71850985ed8dd34ae73dc6265a643fcb13.tar.gz
Only authorities should automatically download v2 networkstatus documents
Clients and relays haven't used them since early 0.2.0.x. The only remaining use by authorities learning about new relays ahead of scedule; see proposal 147 for what we intend to do about that. We're leaving in an option (FetchV2Networkstatus) to manually fetch v2 networkstatuses, because apparently dnsel and maybe bwauth want them. This fixes bug 3022.
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index f003e4d29..ab9c5db33 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -255,6 +255,7 @@ static config_var_t _option_vars[] = {
V(FetchServerDescriptors, BOOL, "1"),
V(FetchHidServDescriptors, BOOL, "1"),
V(FetchUselessDescriptors, BOOL, "0"),
+ V(FetchV2Networkstatus, BOOL, "0"),
#ifdef WIN32
V(GeoIPFile, FILENAME, "<default>"),
#else