[or-cvs] [tor/release-0.2.2 025/162] even more comment

arma at torproject.org arma at torproject.org
Mon Dec 20 03:06:29 UTC 2010


Author: Roger Dingledine <arma at torproject.org>
Date: Tue, 28 Sep 2010 23:50:56 -0400
Subject: even more comment
Commit: a58610a87e27e446b347f49e847da1cd460ffa81

---
 src/or/or.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/or/or.h b/src/or/or.h
index a48df38..62985ca 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1047,7 +1047,10 @@ typedef struct or_connection_t {
    * NETINFO cell listed the address we're connected to as recognized. */
   unsigned int is_canonical:1;
   /** True iff this connection shouldn't get any new circs attached to it,
-   * because the connection is too old, or because there's a better one, etc.
+   * because the connection is too old, or because there's a better one.
+   * More generally, this flag is used to note an unhealthy connection;
+   * for example, if a bad connection fails we shouldn't assume that the
+   * router itself has a problem.
    */
   unsigned int is_bad_for_new_circs:1;
   uint8_t link_proto; /**< What protocol version are we using? 0 for
-- 
1.7.1




More information about the tor-commits mailing list