summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2011-05-29 19:11:07 -0400
committerRoger Dingledine <arma@torproject.org>2011-05-29 19:11:07 -0400
commit6917728637bdbaed86d48d394eab6a063c319269 (patch)
tree78137c7234bfa4a55925e1a01822614d68d501ee
parente676db656da1c3911f0667faa4fd2396db1c9e8f (diff)
parent5f182ea10e25ed027cf75627f74013e7c6da2038 (diff)
downloadtor-6917728637bdbaed86d48d394eab6a063c319269.tar.gz
tor-6917728637bdbaed86d48d394eab6a063c319269.zip
Merge branch 'maint-0.2.2'
-rw-r--r--src/or/circuitbuild.c2
-rw-r--r--src/or/main.c5
2 files changed, 5 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 97e57ab61f..34bb1fd065 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -263,7 +263,7 @@ circuit_build_times_test_frequency(void)
}
/**
- * Retrieve and bounds-check the cbtmintimeout consensus paramter.
+ * Retrieve and bounds-check the cbtmintimeout consensus parameter.
*
* Effect: This is the minimum allowed timeout value in milliseconds.
* The minimum is to prevent rounding to 0 (we only check once
diff --git a/src/or/main.c b/src/or/main.c
index 93fe2fd6c6..303d50653c 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1352,7 +1352,10 @@ run_scheduled_events(time_t now)
* it's not comfortable with the number of available circuits.
*/
/* XXXX022 If our circuit build timeout is much lower than a second, maybe
- we should do this more often? */
+ * we should do this more often? -NM
+ * It can't be lower than 1.5 seconds currently; see
+ * circuit_build_times_min_timeout(). -RD
+ */
circuit_expire_building();
/** 3b. Also look at pending streams and prune the ones that 'began'