aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-12-08 21:12:47 +0000
committerRoger Dingledine <arma@torproject.org>2005-12-08 21:12:47 +0000
commit87301909147c8fd8124d0b7bbd6393458298d79b (patch)
tree0f828a3227b4e7935119f697d6e0b1e1925dd4dc /src/or/or.h
parentd3dcea08afb817fd2d5e32999e3a30547dc213c3 (diff)
downloadtor-87301909147c8fd8124d0b7bbd6393458298d79b.tar
tor-87301909147c8fd8124d0b7bbd6393458298d79b.tar.gz
when we're checking reachability, make it clearer in the logs
what to expect. svn:r5538
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index b3a78f74d..e7edaa33a 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -504,6 +504,9 @@ typedef enum {
#define CELL_CREATE_FAST 5
#define CELL_CREATED_FAST 6
+/** How long to test reachability before complaining to the user. */
+#define TIMEOUT_UNTIL_UNREACHABILITY_COMPLAINT (20*60) /* 20 minutes */
+
/* people behind fascist firewalls use only these ports */
#define REQUIRED_FIREWALL_DIRPORT 80
#define REQUIRED_FIREWALL_ORPORT 443