summaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2010-09-28 23:27:00 -0400
committerRoger Dingledine <arma@torproject.org>2010-09-28 23:27:00 -0400
commit512433346f01f054e99c2dccede324a41a819fe8 (patch)
tree5e759910fad38a091569e93359467e5febb96498 /src/or/circuitbuild.c
parent7e644b3f691e44642cc267b62cf49a7e4bffd383 (diff)
downloadtor-512433346f01f054e99c2dccede324a41a819fe8.tar.gz
tor-512433346f01f054e99c2dccede324a41a819fe8.zip
improve code comments, based on comments from nick
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index dd92e78cb5..2b4540bf3b 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -4605,7 +4605,7 @@ entries_retry_helper(or_options_t *options, int act)
if (ri->is_running)
any_running = 1; /* some entry is both known and running */
else if (act) {
- /* Mark-for-close all TLS connections to this node, since
+ /* Mark all current connections to this OR as unhealthy, since
* otherwise there could be one that started 30 seconds
* ago, and in 30 seconds it will time out, causing us to mark
* the node down and undermine the retry attempt. We mark even
@@ -4613,7 +4613,7 @@ entries_retry_helper(or_options_t *options, int act)
* we'll want to attach circuits to fresh conns. */
connection_or_set_bad_connections(ri->cache_info.identity_digest, 1);
- /* mark it for retry */
+ /* mark this entry node for retry */
router_set_status(ri->cache_info.identity_digest, 1);
e->can_retry = 1;
e->bad_since = 0;