Browse Source

don't request temination if session was not established

pull/2042/head
orignal 8 months ago
parent
commit
530a078535
  1. 4
      libi2pd/SSU2Session.cpp

4
libi2pd/SSU2Session.cpp

@ -294,8 +294,10 @@ namespace transport
{ {
m_TerminationReason = reason; m_TerminationReason = reason;
SendTermination (); SendTermination ();
m_State = eSSU2SessionStateClosing;
} }
m_State = eSSU2SessionStateClosing; else
Done ();
} }
void SSU2Session::Established () void SSU2Session::Established ()

Loading…
Cancel
Save