send tunnel endpoint data to transport session to gateway directly

This commit is contained in:
orignal
2024-12-17 20:50:54 -05:00
parent b4bcd9914a
commit 36939898fe
5 changed files with 77 additions and 12 deletions

View File

@@ -64,7 +64,8 @@ namespace tunnel
void TunnelTransportSender::Reset ()
{
m_CurrentTransport.reset ();
m_PendingTransport = std::future<std::shared_ptr<i2p::transport::TransportSession> >();
if (m_PendingTransport.valid ())
m_PendingTransport = std::future<std::shared_ptr<i2p::transport::TransportSession> >();
}
}
}