mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-16 14:18:24 +00:00
cleanup
This commit is contained in:
@ -174,6 +174,9 @@ namespace ZeroTier { typedef BSDEthernetTap EthernetTap; }
|
|||||||
// TCP activity timeout
|
// TCP activity timeout
|
||||||
#define ZT_TCP_ACTIVITY_TIMEOUT 60000
|
#define ZT_TCP_ACTIVITY_TIMEOUT 60000
|
||||||
|
|
||||||
|
// Number of receive path threads to start
|
||||||
|
#define ZT_INCOMING_PACKET_THREAD_POOL_SIZE 8
|
||||||
|
|
||||||
#if ZT_VAULT_SUPPORT
|
#if ZT_VAULT_SUPPORT
|
||||||
size_t curlResponseWrite(void *ptr, size_t size, size_t nmemb, std::string *data)
|
size_t curlResponseWrite(void *ptr, size_t size, size_t nmemb, std::string *data)
|
||||||
{
|
{
|
||||||
@ -437,8 +440,6 @@ struct TcpConnection
|
|||||||
Mutex writeq_m;
|
Mutex writeq_m;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define ZT_INCOMING_PACKET_THREAD_POOL_SIZE 8
|
|
||||||
|
|
||||||
class OneServiceImpl : public OneService
|
class OneServiceImpl : public OneService
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Reference in New Issue
Block a user