summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorunixninja92 <charlesvt@gmail.com>2013-09-14 21:40:19 +0200
committerNick Mathewson <nickm@torproject.org>2014-03-05 14:29:54 -0500
commit898154f71779a614e2fd100fb45a788b75207efb (patch)
treec87e64fd32e4e42698fa0c2db0ca2174aba693ef /src/or/config.c
parent147a0f31bd72cfd285f7a6e0867b490262469ccd (diff)
downloadtor-898154f71779a614e2fd100fb45a788b75207efb.tar.gz
tor-898154f71779a614e2fd100fb45a788b75207efb.zip
PredictedCircsRelevanceTime: limit how long we predict a port will be used
By default, after you've made a connection to port XYZ, we assume you might still want to have an exit ready to connect to XYZ for one hour. This patch lets you lower that interval. Implements ticket 91
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 5ce7bad493..460bf3ec41 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -314,6 +314,7 @@ static config_var_t option_vars_[] = {
V(NATDListenAddress, LINELIST, NULL),
VPORT(NATDPort, LINELIST, NULL),
V(Nickname, STRING, NULL),
+ V(PredictedCircsRelevanceTime, INTERVAL, "1 hour"),
V(WarnUnsafeSocks, BOOL, "1"),
OBSOLETE("NoPublish"),
VAR("NodeFamily", LINELIST, NodeFamilies, NULL),