mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't detach ECIESx25519 session from destination
This commit is contained in:
parent
bc4a97774f
commit
b1262d54de
6 changed files with 29 additions and 14 deletions
|
@ -764,7 +764,7 @@ namespace stream
|
|||
return;
|
||||
}
|
||||
}
|
||||
if (!m_RoutingSession || !m_RoutingSession->GetOwner () || !m_RoutingSession->IsReadyToSend ()) // expired and detached or new session sent
|
||||
if (!m_RoutingSession || m_RoutingSession->IsTerminated () || !m_RoutingSession->IsReadyToSend ()) // expired and detached or new session sent
|
||||
m_RoutingSession = m_LocalDestination.GetOwner ()->GetRoutingSession (m_RemoteLeaseSet, true);
|
||||
if (!m_CurrentOutboundTunnel && m_RoutingSession) // first message to send
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue