Add TCP channel support for supernode list, make Peer pick the first path if all paths are equally dead.
This commit is contained in:
parent
73c1d43f2f
commit
daaec84c6b
7 changed files with 46 additions and 38 deletions
|
@ -752,13 +752,13 @@ bool Switch::_trySend(const Packet &packet,bool encrypt)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef ZT_TRACE
|
||||
/* #ifdef ZT_TRACE
|
||||
if (via != peer) {
|
||||
TRACE(">> %s to %s via %s (%d)",Packet::verbString(packet.verb()),peer->address().toString().c_str(),via->address().toString().c_str(),(int)packet.size());
|
||||
} else {
|
||||
TRACE(">> %s to %s (%d)",Packet::verbString(packet.verb()),peer->address().toString().c_str(),(int)packet.size());
|
||||
}
|
||||
#endif
|
||||
#endif */
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue