diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-03-18 11:53:53 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-03-18 11:53:53 -0700 |
commit | bb25128406b5127df5ffd2f671936cacaa83306e (patch) | |
tree | 1f7eb500489e8aa16701510faeda19cdbed07fa8 /node/Constants.hpp | |
parent | bf5d8de99920cc7652a41040e00576dbab1edaed (diff) | |
download | infinitytier-bb25128406b5127df5ffd2f671936cacaa83306e.tar.gz infinitytier-bb25128406b5127df5ffd2f671936cacaa83306e.zip |
TCP socket.
Diffstat (limited to 'node/Constants.hpp')
-rw-r--r-- | node/Constants.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp index 90cea3ad..bcefe7f9 100644 --- a/node/Constants.hpp +++ b/node/Constants.hpp @@ -305,6 +305,11 @@ error_no_byte_order_defined; #define ZT_PEER_LINK_ACTIVITY_TIMEOUT ((ZT_PEER_DIRECT_PING_DELAY * 2) + 1000) /** + * Close TCP tunnels if unused for this long + */ +#define ZT_TCP_TUNNEL_ACTIVITY_TIMEOUT ZT_PEER_LINK_ACTIVITY_TIMEOUT + +/** * Stop relaying via peers that have not responded to direct sends in this long */ #define ZT_PEER_RELAY_CONVERSATION_LATENCY_THRESHOLD 10000 |