Browse Source

close SSU session if not established

pull/93/head
orignal 11 years ago
parent
commit
9ee049aa63
  1. 2
      SSU.cpp

2
SSU.cpp

@ -83,6 +83,7 @@ namespace ssu @@ -83,6 +83,7 @@ namespace ssu
}
else
{
if (m_State == eSessionStateEstablished)
ScheduleTermination ();
/* // check for duplicate
const uint8_t * iv = ((SSUHeader *)buf)->iv;
@ -652,7 +653,6 @@ namespace ssu @@ -652,7 +653,6 @@ namespace ssu
if (m_State != eSessionStateFailed)
{
m_State = eSessionStateFailed;
Close ();
m_Server.DeleteSession (this); // delete this
}
}

Loading…
Cancel
Save