net: Bring back log message when resetting socket

Useful in case new disconnects creep in which are not using DisconnectMsg().
This commit is contained in:
Hodlinator 2024-12-30 17:35:53 +01:00
parent 04b848e482
commit bbac17608d
No known key found for this signature in database

View file

@ -558,6 +558,7 @@ void CNode::CloseSocketDisconnect()
fDisconnect = true;
LOCK(m_sock_mutex);
if (m_sock) {
LogDebug(BCLog::NET, "Resetting socket for peer=%d%s", GetId(), LogIP(fLogIPs));
m_sock.reset();
}
m_i2p_sam_session.reset();