aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
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/config.c
parentad236d4b8b617c7cecab2b59d06e66ef6359cab6 (diff)
downloadtor-216e349cb27777c0778c20b193a29cc58ff856ca.tar
tor-216e349cb27777c0778c20b193a29cc58ff856ca.tar.gz
parameterize two more timeout constants in circuit-land.
svn:r6220
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index c90927712..355c72475 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -136,6 +136,8 @@ static config_var_t _option_vars[] = {
VAR("AuthoritativeDirectory",BOOL, AuthoritativeDir, "0"),
VAR("BandwidthBurst", MEMUNIT, BandwidthBurst, "6 MB"),
VAR("BandwidthRate", MEMUNIT, BandwidthRate, "3 MB"),
+ VAR("CircuitBuildTimeout", INTERVAL, CircuitBuildTimeout, "1 minute"),
+ VAR("CircuitIdleTimeout", INTERVAL, CircuitIdleTimeout, "1 hour"),
VAR("ClientOnly", BOOL, ClientOnly, "0"),
VAR("ConnLimit", UINT, ConnLimit, "1024"),
VAR("ContactInfo", STRING, ContactInfo, NULL),