mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-06-13 17:46:53 +02:00
pick peer test session only if Charlie's address supports peer testing
This commit is contained in:
parent
38cc01e13d
commit
f8722f17c6
4 changed files with 14 additions and 7 deletions
|
@ -77,7 +77,7 @@ namespace transport
|
|||
void RemovePendingOutgoingSession (const boost::asio::ip::udp::endpoint& ep);
|
||||
std::shared_ptr<SSU2Session> FindSession (const i2p::data::IdentHash& ident) const;
|
||||
std::shared_ptr<SSU2Session> FindPendingOutgoingSession (const boost::asio::ip::udp::endpoint& ep) const;
|
||||
std::shared_ptr<SSU2Session> GetRandomSession (i2p::data::RouterInfo::CompatibleTransports remoteTransports,
|
||||
std::shared_ptr<SSU2Session> GetRandomPeerTestSession (i2p::data::RouterInfo::CompatibleTransports remoteTransports,
|
||||
const i2p::data::IdentHash& excluded) const;
|
||||
|
||||
void AddRelay (uint32_t tag, std::shared_ptr<SSU2Session> relay);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue