mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-07-27 12:42:49 +02:00
Whack!
This commit is contained in:
parent
d868a234da
commit
b5b57aca02
1 changed files with 3 additions and 2 deletions
|
@ -307,7 +307,7 @@ void NetconEthernetTap::closeAll()
|
|||
closeConnection(tcp_connections.front());
|
||||
}
|
||||
|
||||
#define ZT_LWIP_TCP_TIMER_INTERVAL 50
|
||||
#define ZT_LWIP_TCP_TIMER_INTERVAL 10
|
||||
|
||||
void NetconEthernetTap::threadMain()
|
||||
throw()
|
||||
|
@ -657,7 +657,8 @@ err_t NetconEthernetTap::nc_sent(void* arg, struct tcp_pcb *tpcb, u16_t len)
|
|||
if(len) {
|
||||
//fprintf(stderr, "ACKING len = %d, setting read-notify = true, (sndbuf = %d)\n", len, l->conn->pcb->snd_buf);
|
||||
l->tap->_phy.setNotifyReadable(l->conn->dataSock, true);
|
||||
l->tap->handle_write(l->conn);
|
||||
l->tap->_phy.whack();
|
||||
//l->tap->handle_write(l->conn);
|
||||
}
|
||||
return ERR_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue