reselect tunnels if LeaseSet delivery was not confirmed

This commit is contained in:
orignal 2016-09-07 13:25:11 -04:00
parent 47a0ebdc91
commit 6e0d6dcac5
3 changed files with 17 additions and 6 deletions

View file

@ -736,7 +736,15 @@ namespace stream
return;
}
if (m_Status == eStreamStatusOpen)
{
if (m_RoutingSession && m_RoutingSession->IsLeaseSetNonConfirmed ())
{
// seems something went wrong and we should re-select tunnels
m_CurrentOutboundTunnel = nullptr;
m_CurrentRemoteLease = nullptr;
}
SendQuickAck ();
}
m_IsAckSendScheduled = false;
}
}