mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
don't send updated LeaseSet through a terminated session
This commit is contained in:
@@ -817,7 +817,7 @@ namespace stream
|
||||
|
||||
void Stream::SendUpdatedLeaseSet ()
|
||||
{
|
||||
if (m_RoutingSession)
|
||||
if (m_RoutingSession && !m_RoutingSession->IsTerminated ())
|
||||
{
|
||||
if (m_RoutingSession->IsLeaseSetNonConfirmed ())
|
||||
{
|
||||
@@ -838,6 +838,8 @@ namespace stream
|
||||
SendQuickAck ();
|
||||
}
|
||||
}
|
||||
else
|
||||
SendQuickAck ();
|
||||
}
|
||||
|
||||
void Stream::ScheduleResend ()
|
||||
|
||||
Reference in New Issue
Block a user