[or-cvs] r11889: note a design flaw that i should fix somehow (tor/trunk/src/or)

arma at seul.org arma at seul.org
Thu Oct 11 22:16:05 UTC 2007


Author: arma
Date: 2007-10-11 18:16:05 -0400 (Thu, 11 Oct 2007)
New Revision: 11889

Modified:
   tor/trunk/src/or/directory.c
Log:
note a design flaw that i should fix somehow


Modified: tor/trunk/src/or/directory.c
===================================================================
--- tor/trunk/src/or/directory.c	2007-10-11 21:41:43 UTC (rev 11888)
+++ tor/trunk/src/or/directory.c	2007-10-11 22:16:05 UTC (rev 11889)
@@ -315,6 +315,8 @@
   if (!get_via_tor) {
     if (options->UseBridges && type != BRIDGE_AUTHORITY) {
       /* want to ask a running bridge for which we have a descriptor. */
+      /* XXX020 we assume that all of our bridges can answer any
+       * possible directory question. This won't be true forever. -RD */
       routerinfo_t *ri = choose_random_entry(NULL);
       if (ri) {
         directory_initiate_command(ri->address, ri->addr,



More information about the tor-commits mailing list