File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1550,6 +1550,7 @@ namespace transport
1550
1550
1551
1551
void NTCP2Server::Stop ()
1552
1552
{
1553
+ m_EstablisherService.Stop ();
1553
1554
{
1554
1555
// we have to copy it because Terminate changes m_NTCP2Sessions
1555
1556
auto ntcpSessions = m_NTCP2Sessions;
@@ -1565,7 +1566,6 @@ namespace transport
1565
1566
m_TerminationTimer.cancel ();
1566
1567
m_ProxyEndpoint = nullptr ;
1567
1568
}
1568
- m_EstablisherService.Stop ();
1569
1569
StopIOService ();
1570
1570
}
1571
1571
Original file line number Diff line number Diff line change @@ -296,6 +296,8 @@ namespace tunnel
296
296
297
297
bool m_IsRunning;
298
298
std::thread * m_Thread;
299
+ i2p::util::MemoryPoolMt<I2NPMessageBuffer<I2NP_TUNNEL_ENPOINT_MESSAGE_SIZE> > m_I2NPTunnelEndpointMessagesMemoryPool;
300
+ i2p::util::MemoryPoolMt<I2NPMessageBuffer<I2NP_TUNNEL_MESSAGE_SIZE> > m_I2NPTunnelMessagesMemoryPool;
299
301
std::map<uint32_t , std::shared_ptr<InboundTunnel> > m_PendingInboundTunnels; // by replyMsgID
300
302
std::map<uint32_t , std::shared_ptr<OutboundTunnel> > m_PendingOutboundTunnels; // by replyMsgID
301
303
std::list<std::shared_ptr<InboundTunnel> > m_InboundTunnels;
@@ -306,8 +308,6 @@ namespace tunnel
306
308
std::list<std::shared_ptr<TunnelPool>> m_Pools;
307
309
std::shared_ptr<TunnelPool> m_ExploratoryPool;
308
310
i2p::util::Queue<std::shared_ptr<I2NPMessage> > m_Queue;
309
- i2p::util::MemoryPoolMt<I2NPMessageBuffer<I2NP_TUNNEL_ENPOINT_MESSAGE_SIZE> > m_I2NPTunnelEndpointMessagesMemoryPool;
310
- i2p::util::MemoryPoolMt<I2NPMessageBuffer<I2NP_TUNNEL_MESSAGE_SIZE> > m_I2NPTunnelMessagesMemoryPool;
311
311
uint32_t m_MaxNumTransitTunnels;
312
312
// count of tunnels for total TCSR algorithm
313
313
int m_TotalNumSuccesiveTunnelCreations, m_TotalNumFailedTunnelCreations;
You can’t perform that action at this time.
0 commit comments