]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make microdesc use off-by-default for now, since there are not enough caches
authorNick Mathewson <nickm@torproject.org>
Thu, 5 May 2011 19:53:25 +0000 (15:53 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 6 May 2011 00:54:14 +0000 (20:54 -0400)
src/or/microdesc.c

index 0e8aa836f1917333dc81191e6cb6fd2099094241..9db17ccd5e775e514f9bd19d592929bf5819002b 100644 (file)
@@ -658,8 +658,14 @@ we_use_microdescriptors_for_circuits(or_options_t *options)
   int ret = options->UseMicrodescriptors;
   if (ret == -1) {
     /* UseMicrodescriptors is "auto"; we need to decide: */
+#if 0
     /* So we decide that we'll use microdescriptors iff we are not a server */
     ret = ! server_mode(options);
+#else
+    /* We don't use microdescs for now: not enough caches are running
+     * 0.2.3.1-alpha */
+    ret = 0;
+#endif
   }
   return ret;
 }