Browse Source

print separate message for introducer timeout

pull/1813/head
orignal 2 years ago
parent
commit
2a6f906177
  1. 3
      libi2pd/SSU2Session.cpp

3
libi2pd/SSU2Session.cpp

@ -94,6 +94,9 @@ namespace transport @@ -94,6 +94,9 @@ namespace transport
if (!ecode)
{
// timeout expired
if (m_State == eSSU2SessionStateIntroduced) // WaitForIntroducer
LogPrint (eLogWarning, "SSU2: Session was not introduced after ", SSU2_CONNECT_TIMEOUT, " seconds");
else
LogPrint (eLogWarning, "SSU2: Session with ", m_RemoteEndpoint, " was not established after ", SSU2_CONNECT_TIMEOUT, " seconds");
Terminate ();
}

Loading…
Cancel
Save