aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-03-21 23:27:43 +0000
committerRoger Dingledine <arma@torproject.org>2006-03-21 23:27:43 +0000
commit28fafb9022930e29658093c0670f670037ae28b6 (patch)
tree7c4d62b918001de817e82f0bbf3bf2115b03e7fa /src/or/or.h
parent5399e394a83907fb2e4f06ea6c37cbb9a8f9cb45 (diff)
downloadtor-28fafb9022930e29658093c0670f670037ae28b6.tar.gz
tor-28fafb9022930e29658093c0670f670037ae28b6.zip
new config option SocksTimeout: How long do we let a socks connection
wait unattached before we fail it? Use this value for controller socks timeout, for normal socks timeout, and for hidden-service socks timeout. svn:r6217
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 634e5ca3b2..c1c4fccdde 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1315,6 +1315,8 @@ typedef struct {
int StatusFetchPeriod; /**< How often do we fetch running-routers lists? */
int KeepalivePeriod; /**< How often do we send padding cells to keep
* connections alive? */
+ int SocksTimeout; /**< How long do we let a socks connection wait
+ * unattached before we fail it? */
int MaxOnionsPending; /**< How many circuit CREATE requests do we allow
* to wait simultaneously before we start dropping
* them? */