mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-20 05:28:01 +00:00
Whack!
This commit is contained in:
parent
d868a234da
commit
b5b57aca02
@ -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…
Reference in New Issue
Block a user