summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-03-22 00:52:37 +0000
committerRoger Dingledine <arma@torproject.org>2006-03-22 00:52:37 +0000
commit216e349cb27777c0778c20b193a29cc58ff856ca (patch)
tree1c35508233a445a0d3787e2ec9895d4444d03bae /src/or/or.h
parentad236d4b8b617c7cecab2b59d06e66ef6359cab6 (diff)
downloadtor-216e349cb27777c0778c20b193a29cc58ff856ca.tar.gz
tor-216e349cb27777c0778c20b193a29cc58ff856ca.zip
parameterize two more timeout constants in circuit-land.
svn:r6220
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index c1c4fccdde..1bbe24e26c 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1317,6 +1317,10 @@ typedef struct {
* connections alive? */
int SocksTimeout; /**< How long do we let a socks connection wait
* unattached before we fail it? */
+ int CircuitBuildTimeout; /**< Cull non-open circuits that were born
+ * at least this many seconds ago. */
+ int CircuitIdleTimeout; /**< Cull open clean circuits that were born
+ * at least this many seconds ago. */
int MaxOnionsPending; /**< How many circuit CREATE requests do we allow
* to wait simultaneously before we start dropping
* them? */