aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-02-16 20:39:37 +0000
committerNick Mathewson <nickm@torproject.org>2007-02-16 20:39:37 +0000
commitd2893398f6c98f4ad82f05c41fb9ca40c5020015 (patch)
tree1600a6f6ab31cff26dd6a3c4710a3fd1cd5e530f /src/or/circuituse.c
parenta3ec172e1ac0e1ae2b2a09c05edb4e7f2fef4a1e (diff)
downloadtor-d2893398f6c98f4ad82f05c41fb9ca40c5020015.tar
tor-d2893398f6c98f4ad82f05c41fb9ca40c5020015.tar.gz
r11832@catbus: nickm | 2007-02-16 15:31:59 -0500
Fix 35 remaining DOCDOC comments. Yowza. svn:r9596
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index fd2b0cfa2..6cc7f54f0 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -566,10 +566,11 @@ circuit_expire_old_circuits(time_t now)
}
}
-/** DOCDOC */
+/** Number of circuits to open at once when testing our bandwidth. */
#define NUM_PARALLEL_TESTING_CIRCS 4
-/** DOCDOC */
+/** True iff we've ever opened enough testing circuits to test our
+ * bandwidth. */
static int have_performed_bandwidth_test = 0;
/** Reset have_performed_bandwidth_test, so we'll start building
@@ -776,7 +777,8 @@ circuit_build_failed(origin_circuit_t *circ)
* circuit_launch_new and circuit_*_failure_count.
*/
static int n_circuit_failures = 0;
-/** DOCDOC */
+/** Before the last time we called circuit_reset_failure_count(), were
+ * there a lot of failures? */
static int did_circs_fail_last_period = 0;
/** Don't retry launching a new circuit if we try this many times with no