mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
main netdb can request router info only
This commit is contained in:
parent
3547a4042c
commit
bbe403fb40
6 changed files with 35 additions and 76 deletions
2
SAM.cpp
2
SAM.cpp
|
@ -325,7 +325,7 @@ namespace client
|
|||
Connect (*leaseSet);
|
||||
else
|
||||
{
|
||||
i2p::data::netdb.RequestDestination (dest.GetIdentHash (), true, m_Session->localDestination->GetTunnelPool ());
|
||||
m_Session->localDestination->RequestDestination (dest.GetIdentHash ());
|
||||
m_Timer.expires_from_now (boost::posix_time::seconds(SAM_CONNECT_TIMEOUT));
|
||||
m_Timer.async_wait (std::bind (&SAMSocket::HandleStreamDestinationRequestTimer,
|
||||
shared_from_this (), std::placeholders::_1, dest.GetIdentHash ()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue