diff options
author | Roger Dingledine <arma@torproject.org> | 2005-04-01 08:42:26 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-04-01 08:42:26 +0000 |
commit | e786e5dedb8eaf0e4bd43a065c4fc43c1178e577 (patch) | |
tree | f01fdb06fa0f0ce2d061ff9a5de87945709a03ea /src/or/circuituse.c | |
parent | 669f1947ed38a3f468bb452e69946cac301f6185 (diff) | |
download | tor-e786e5dedb8eaf0e4bd43a065c4fc43c1178e577.tar.gz tor-e786e5dedb8eaf0e4bd43a065c4fc43c1178e577.zip |
when building testing circuits, always use middle hops
running at least 0.0.9.7
svn:r3966
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r-- | src/or/circuituse.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 38efe26899..255b4a306c 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -557,12 +557,14 @@ circuit_testing_opened(circuit_t *circ) { /** A testing circuit has failed to build. Take whatever stats we want. */ static void circuit_testing_failed(circuit_t *circ, int at_last_hop) { +#if 0 routerinfo_t *me = router_get_my_routerinfo(); if (!at_last_hop) circuit_launch_by_router(CIRCUIT_PURPOSE_TESTING, me, 0, 1, 1); else - log_fn(LOG_INFO,"Our testing circuit (to see if your ORPort is reachable) has failed. I'll try again later."); +#endif + log_fn(LOG_INFO,"Our testing circuit (to see if your ORPort is reachable) has failed. I'll try again later."); } /** The circuit <b>circ</b> has just become open. Take the next |