Yet more cleanup to TCP logic, this time adding a master switch and adding UDP preference in send().
This commit is contained in:
parent
73153b89b4
commit
8fb442d81a
6 changed files with 110 additions and 76 deletions
|
@ -313,7 +313,7 @@ error_no_byte_order_defined;
|
|||
#define ZT_PEER_PATH_ACTIVITY_TIMEOUT ((ZT_PEER_DIRECT_PING_DELAY * 2) + ZT_PING_CHECK_DELAY)
|
||||
|
||||
/**
|
||||
* Close TCP tunnels if unused for this long
|
||||
* Close TCP tunnels if unused for this long (used in SocketManager)
|
||||
*/
|
||||
#define ZT_TCP_TUNNEL_ACTIVITY_TIMEOUT ZT_PEER_PATH_ACTIVITY_TIMEOUT
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue