mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-26 20:52:37 +00:00
manage tunnel pools
This commit is contained in:
1 parent
ab23327da6
commit
b47d7aceaa
5 files changed
+19
-23
No files matched your search
+2
-2
@@ -15,7 +15,7 @@ namespace tunnel
|
||||
TunnelPool::~TunnelPool ()
|
||||
{
|
||||
for (auto it: m_InboundTunnels)
|
||||
delete it;
|
||||
it->SetTunnelPool (nullptr);
|
||||
}
|
||||
|
||||
void TunnelPool::TunnelCreated (InboundTunnel * createdTunnel)
|
||||
@@ -55,7 +55,7 @@ namespace tunnel
|
||||
i2p::data::netdb.GetRandomRouter (firstHop)
|
||||
}),
|
||||
outboundTunnel);
|
||||
tunnel->SetTunnelPool (this);
|
||||
tunnel->SetTunnelPool (this);
|
||||
}
|
||||
|
||||
void TunnelPool::ManageTunnels ()
|
||||
|
||||
Reference in new issue
Block a user