create new ratchets session if previous was not replied
This commit is contained in:
@@ -756,7 +756,7 @@ namespace stream
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (!m_RoutingSession || !m_RoutingSession->GetOwner ()) // expired and detached
|
||||
if (!m_RoutingSession || !m_RoutingSession->GetOwner () || !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
|
||||
{
|
||||
|
Reference in New Issue
Block a user