mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-09 19:47:54 +00:00
reduced memory usage
This commit is contained in:
parent
550f9de41a
commit
57d4ccfdfd
@ -394,6 +394,7 @@ namespace transport
|
|||||||
Terminate ();
|
Terminate ();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
m_RemoteIdentity.DropVerifier ();
|
||||||
|
|
||||||
SendPhase4 (tsA, tsB);
|
SendPhase4 (tsA, tsB);
|
||||||
}
|
}
|
||||||
@ -467,6 +468,7 @@ namespace transport
|
|||||||
Terminate ();
|
Terminate ();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
m_RemoteIdentity.DropVerifier ();
|
||||||
LogPrint (eLogInfo, "NTCP session to ", m_Socket.remote_endpoint (), " connected");
|
LogPrint (eLogInfo, "NTCP session to ", m_Socket.remote_endpoint (), " connected");
|
||||||
Connected ();
|
Connected ();
|
||||||
|
|
||||||
|
@ -238,6 +238,7 @@ namespace transport
|
|||||||
// verify
|
// verify
|
||||||
if (!s.Verify (m_RemoteIdentity, payload))
|
if (!s.Verify (m_RemoteIdentity, payload))
|
||||||
LogPrint (eLogError, "SSU signature verification failed");
|
LogPrint (eLogError, "SSU signature verification failed");
|
||||||
|
m_RemoteIdentity.DropVerifier ();
|
||||||
|
|
||||||
SendSessionConfirmed (y, ourAddress, addressSize + 2);
|
SendSessionConfirmed (y, ourAddress, addressSize + 2);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user