summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-11-21 23:36:36 -0500
committerRoger Dingledine <arma@torproject.org>2009-11-21 23:36:36 -0500
commit7f3f88bed38758d1f6f72cd0864cf93809bb5440 (patch)
treefd6bf8245a58c4112ad1a81715d064bd5b3f35a3 /src/or/config.c
parentfdd58f3bd5daa4a8982244d0b956fcfebfd91b6d (diff)
downloadtor-7f3f88bed38758d1f6f72cd0864cf93809bb5440.tar.gz
tor-7f3f88bed38758d1f6f72cd0864cf93809bb5440.zip
New config option "CircuitStreamTimeout"
New config option "CircuitStreamTimeout" to override our internal timeout schedule for how many seconds until we detach a stream from a circuit and try a new circuit. If your network is particularly slow, you might want to set this to a number like 60.
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index b6a52a85de..2d21435248 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -166,6 +166,7 @@ static config_var_t _option_vars[] = {
V(CellStatistics, BOOL, "0"),
V(CircuitBuildTimeout, INTERVAL, "0"),
V(CircuitIdleTimeout, INTERVAL, "1 hour"),
+ V(CircuitStreamTimeout, INTERVAL, "0"),
V(ClientDNSRejectInternalAddresses, BOOL,"1"),
V(ClientOnly, BOOL, "0"),
V(ConsensusParams, STRING, NULL),