mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
bypass medium congestion(D) routers for client tunnels
This commit is contained in:
parent
572694b141
commit
4ebc7c970a
5 changed files with 25 additions and 12 deletions
|
@ -1172,7 +1172,7 @@ namespace data
|
|||
return !router->IsHidden () && router != compatibleWith &&
|
||||
(reverse ? compatibleWith->IsReachableFrom (*router) :
|
||||
router->IsReachableFrom (*compatibleWith)) &&
|
||||
router->IsECIES ();
|
||||
router->IsECIES () && !router->IsHighCongestion (false);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -1206,7 +1206,7 @@ namespace data
|
|||
router->IsReachableFrom (*compatibleWith)) &&
|
||||
(router->GetCaps () & RouterInfo::eHighBandwidth) &&
|
||||
router->GetVersion () >= NETDB_MIN_HIGHBANDWIDTH_VERSION &&
|
||||
router->IsECIES () && !router->IsHighCongestion ();
|
||||
router->IsECIES () && !router->IsHighCongestion (true);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue