mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
send exporatory message directly if connected to a floodfill
This commit is contained in:
parent
1e2f038ef5
commit
60351f2677
3 changed files with 10 additions and 1 deletions
|
@ -474,6 +474,12 @@ namespace transport
|
|||
});
|
||||
}
|
||||
|
||||
bool Transports::IsConnected (const i2p::data::IdentHash& ident) const
|
||||
{
|
||||
auto it = m_Peers.find (ident);
|
||||
return it != m_Peers.end ();
|
||||
}
|
||||
|
||||
void Transports::HandlePeerCleanupTimer (const boost::system::error_code& ecode)
|
||||
{
|
||||
if (ecode != boost::asio::error::operation_aborted)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue