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
|
@ -159,7 +159,7 @@ namespace proxy
|
|||
LogPrint("--- sock4a find lease set");
|
||||
m_ls = i2p::data::netdb.FindLeaseSet(m_dest);
|
||||
if (!m_ls || m_ls->HasNonExpiredLeases()) {
|
||||
i2p::data::netdb.RequestDestination (m_dest, true, i2p::client::context.GetSharedLocalDestination ()->GetTunnelPool ());
|
||||
i2p::client::context.GetSharedLocalDestination ()->RequestDestination (m_dest);
|
||||
m_ls_timer.expires_from_now(boost::posix_time::seconds(socks_leaseset_timeout));
|
||||
m_ls_timer.async_wait(boost::bind(&SOCKS4AHandler::LeaseSetTimeout, this, boost::asio::placeholders::error));
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue