summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-03-12 20:13:38 +0000
committerRoger Dingledine <arma@torproject.org>2005-03-12 20:13:38 +0000
commitfe768d1d2a85de42b50a0499d53b9f4a330b4e3b (patch)
tree3d72a7284d66a9c38dfeccd0178fcd6cbeea5b33 /src/or/or.h
parent115271f65e1b84cea09f0fb401afb123f22b075b (diff)
downloadtor-fe768d1d2a85de42b50a0499d53b9f4a330b4e3b.tar.gz
tor-fe768d1d2a85de42b50a0499d53b9f4a330b4e3b.zip
change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config option
svn:r3752
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 3c5fbb23d9..c3ceb3d4a1 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1059,6 +1059,8 @@ typedef struct {
int ManageConnections; /**< Boolean: Does Tor attach new connections to
* circuits itself (1), or does it let the controller
* deal? (0) */
+ int ShutdownWaitLength; /**< When we get a SIGINT and we're a server, how
+ * long do we wait before exiting? */
} or_options_t;
#define MAX_SOCKS_REPLY_LEN 1024