Browse Source

cancel connect timer upon SessionConfirmed

pull/1638/head
orignal 4 years ago
parent
commit
a4dda304d2
  1. 1
      libi2pd/SSUSession.cpp

1
libi2pd/SSUSession.cpp

@ -321,6 +321,7 @@ namespace transport @@ -321,6 +321,7 @@ namespace transport
void SSUSession::ProcessSessionConfirmed (const uint8_t * buf, size_t len)
{
LogPrint (eLogDebug, "SSU: Session confirmed received");
m_ConnectTimer.cancel ();
auto headerSize = GetSSUHeaderSize (buf);
if (headerSize >= len)
{

Loading…
Cancel
Save