[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r8415: good god, that was a bad idea. i've built 500 circuits in th (tor/trunk/src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r8415: good god, that was a bad idea. i've built 500 circuits in th (tor/trunk/src/or)
- From: arma@xxxxxxxx
- Date: Mon, 18 Sep 2006 00:59:16 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Mon, 18 Sep 2006 00:59:23 -0400
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: arma
Date: 2006-09-18 00:59:15 -0400 (Mon, 18 Sep 2006)
New Revision: 8415
Modified:
tor/trunk/src/or/circuituse.c
Log:
good god, that was a bad idea. i've built 500 circuits in the past 5
minutes, trying to establish reachability of my unreachable server.
Modified: tor/trunk/src/or/circuituse.c
===================================================================
--- tor/trunk/src/or/circuituse.c 2006-09-18 04:32:08 UTC (rev 8414)
+++ tor/trunk/src/or/circuituse.c 2006-09-18 04:59:15 UTC (rev 8415)
@@ -653,13 +653,13 @@
static void
circuit_testing_failed(origin_circuit_t *circ, int at_last_hop)
{
+ if (server_mode(get_options()) && check_whether_orport_reachable())
+ return;
+
log_info(LD_GENERAL,
"Our testing circuit (to see if your ORPort is reachable) "
- "has failed. Considering launching another one.");
+ "has failed. I'll try again later.");
- if (!circuit_enough_testing_circs())
- consider_testing_reachability(1, 0);
-
/* These aren't used yet. */
(void)circ;
(void)at_last_hop;