[or-cvs] don"t squeal if the first few retries fail.

arma at seul.org arma at seul.org
Tue Jul 18 04:49:01 UTC 2006


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	connection_edge.c 
Log Message:
don't squeal if the first few retries fail.


Index: connection_edge.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection_edge.c,v
retrieving revision 1.405
retrieving revision 1.406
diff -u -p -d -r1.405 -r1.406
--- connection_edge.c	18 Jul 2006 04:42:32 -0000	1.405
+++ connection_edge.c	18 Jul 2006 04:48:59 -0000	1.406
@@ -387,7 +387,7 @@ connection_ap_expire_beginning(void)
     }
     tor_assert(circ->purpose == CIRCUIT_PURPOSE_C_GENERAL);
     nickname = build_state_get_exit_nickname(circ->build_state);
-    log_fn(severity, LD_APP,
+    log_fn(cutoff < 15 ? LOG_INFO : severity, LD_APP,
            "We tried for %d seconds to connect to '%s' using exit '%s'."
            " Retrying on a new circuit.",
            (int)(now - conn->timestamp_lastread),



More information about the tor-commits mailing list