[tor-commits] [tor/master] Woops, this log message triggers with the 2-hop bias commit.

nickm at torproject.org nickm at torproject.org
Wed Dec 26 04:34:55 UTC 2012


commit af9011f82430a5fac0a6db368f1afb1aa4bbc9f6
Author: Mike Perry <mikeperry-git at fscked.org>
Date:   Tue Dec 11 17:19:39 2012 -0800

    Woops, this log message triggers with the 2-hop bias commit.
---
 src/or/circuitbuild.c |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index cc43797..3e2568c 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1309,22 +1309,6 @@ pathbias_count_circ_attempt(origin_circuit_t *circ)
         }
       }
     }
-  } else {
-    /* Help track down the real cause of bug #6475: */
-    if (circ->path_state == PATH_STATE_NEW_CIRC) {
-      if ((rate_msg = rate_limit_log(&circ_attempt_notice_limit,
-                approx_time()))) {
-        log_info(LD_BUG,
-            "A %s circuit is in cpath state %d (opened: %d). "
-            "Circuit is a %s currently %s.%s",
-            pathbias_state_to_string(circ->path_state),
-            circ->cpath->state, circ->has_opened,
-            circuit_purpose_to_string(circ->base_.purpose),
-            circuit_state_to_string(circ->base_.state),
-            rate_msg);
-        tor_free(rate_msg);
-      }
-    }
   }
 
   return 0;





More information about the tor-commits mailing list