Work in progress: refactoring paths, adding TCP fallback.
This commit is contained in:
parent
45e823d27c
commit
ba3f04deed
8 changed files with 268 additions and 104 deletions
|
@ -260,7 +260,7 @@ public:
|
|||
inline void operator()(Topology &t,const SharedPtr<Peer> &p)
|
||||
{
|
||||
if (!_supernodeAddresses.count(p->address())) {
|
||||
p->forgetDirectPaths(false); // false means don't forget 'fixed' paths e.g. supernodes
|
||||
p->clearPaths(false); // false means don't forget 'fixed' paths e.g. supernodes
|
||||
if (((_now - p->lastFrame()) < ZT_PEER_LINK_ACTIVITY_TIMEOUT)&&(_supernode)) {
|
||||
TRACE("sending reset NOP to %s",p->address().toString().c_str());
|
||||
Packet outp(p->address(),_r->identity.address(),Packet::VERB_NOP);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue