aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-12-24 00:46:37 -0800
committerRobert Ransom <rransom.8774@gmail.com>2011-12-27 08:02:43 -0800
commit078e3e9dd59520b7f40a126a91e89eba91098c49 (patch)
treef93fd2aeb654cd995a6ef693be2b9e7831c8fa61 /src/or/or.h
parent4b13c33c0c18c66cc39caba9b70005bbe43c6613 (diff)
downloadtor-078e3e9dd59520b7f40a126a91e89eba91098c49.tar.gz
tor-078e3e9dd59520b7f40a126a91e89eba91098c49.zip
Add an option to close 'almost-connected' HS client circs on timeout
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 63eb64c814..d84f04b250 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3057,6 +3057,11 @@ typedef struct {
* circuits.) */
int Tor2webMode;
+ /** Close hidden service client circuits immediately when they reach
+ * the normal circuit-build timeout, even if they have already sent
+ * an INTRODUCE1 cell on its way to the service. */
+ int CloseHSClientCircuitsImmediatelyOnTimeout;
+
int ConnLimit; /**< Demanded minimum number of simultaneous connections. */
int _ConnLimit; /**< Maximum allowed number of simultaneous connections. */
int RunAsDaemon; /**< If true, run in the background. (Unix only) */