mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-19 21:03:57 -07:00
Transfer speed increate + stability fixes
This commit is contained in:
parent
357cb92f2e
commit
bcaf42e075
4 changed files with 27 additions and 23 deletions
|
@ -58,7 +58,7 @@ struct accept_st;
|
|||
|
||||
#define APPLICATION_POLL_FREQ 2
|
||||
#define ZT_LWIP_TCP_TIMER_INTERVAL 5
|
||||
#define STATUS_TMR_INTERVAL 500 // How often we check connection statuses (in ms)
|
||||
#define STATUS_TMR_INTERVAL 250 // How often we check connection statuses (in ms)
|
||||
#define DEFAULT_BUF_SZ 1024 * 1024 * 2
|
||||
#define DEFAULT_BUF_SOFTMAX DEFAULT_BUF_SZ / 2
|
||||
|
||||
|
@ -405,7 +405,7 @@ private:
|
|||
/*
|
||||
* Notifies us that we can write to an application's socket
|
||||
*/
|
||||
void phyOnUnixWritable(PhySocket *sock,void **uptr);
|
||||
void phyOnUnixWritable(PhySocket *sock,void **uptr,bool lwip_invoked);
|
||||
|
||||
/*
|
||||
* Returns a pointer to a TcpConnection associated with a given PhySocket
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue