summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2010-09-28 18:42:04 -0400
committerRoger Dingledine <arma@torproject.org>2010-09-28 18:42:04 -0400
commit8d1fe502842a01063027a8dc2a4cb1326be8805a (patch)
tree166db02a82990827a9f3ae56271250a0b3c74709 /src/or
parent3efaa30727f23f316941b6ac861a7027f8204769 (diff)
parent09a715bb72878ea08dc53bf8914807aa226d60aa (diff)
downloadtor-8d1fe502842a01063027a8dc2a4cb1326be8805a.tar.gz
tor-8d1fe502842a01063027a8dc2a4cb1326be8805a.zip
Merge branch 'maint-0.2.2'
Diffstat (limited to 'src/or')
-rw-r--r--src/or/circuitbuild.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 35d8087b6f..d696fe1b9b 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -4551,6 +4551,10 @@ learned_bridge_descriptor(routerinfo_t *ri, int from_cache)
add_an_entry_guard(ri, 1);
log_notice(LD_DIR, "new bridge descriptor '%s' (%s)", ri->nickname,
from_cache ? "cached" : "fresh");
+ /* set entry->made_contact so if it goes down we don't drop it from
+ * our entry node list */
+ entry_guard_register_connect_status(ri->cache_info.identity_digest,
+ 1, 0, now);
if (first)
routerlist_retry_directory_downloads(now);
}
@@ -4616,7 +4620,8 @@ bridges_retry_helper(int act)
}
}
});
- log_debug(LD_DIR, "any_known %d, any_running %d", any_known, any_running);
+ log_debug(LD_DIR, "%d: any_known %d, any_running %d",
+ act, any_known, any_running);
return any_known && !any_running;
}