summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2016-09-13 11:55:23 +1000
committerNick Mathewson <nickm@torproject.org>2016-09-13 10:13:57 -0400
commitf686fa2ee600f6670bab7531d404eaf5f8ea91ff (patch)
tree07ff59ed1a90ac9124f682b7d67e6f6efbc31c99
parenta00fee2f5467bf0fbc425d49787a822283e8451e (diff)
downloadtor-f686fa2ee600f6670bab7531d404eaf5f8ea91ff.tar.gz
tor-f686fa2ee600f6670bab7531d404eaf5f8ea91ff.zip
Comments: prefer circuit_build_times_disabled() to LearnCircuitBuildTimeout
-rw-r--r--src/or/or.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 7104a5cae3..07f94b7505 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3777,7 +3777,8 @@ typedef struct {
* unattached before we fail it? */
int LearnCircuitBuildTimeout; /**< If non-zero, we attempt to learn a value
* for CircuitBuildTimeout based on timeout
- * history */
+ * history. Use circuit_build_times_disabled()
+ * rather than checking this value directly. */
int CircuitBuildTimeout; /**< Cull non-open circuits that were born at
* least this many seconds ago. Used until
* adaptive algorithm learns a new value. */