You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Duplicate connection. In this case we have to choose wether to terminate this connection, or the previous. The best is to do it asymmetrically.
1184
1184
// We decide this based on our Node IDs.
1185
1185
// In addition, if the older connection isn't completed yet (i.e. it's our connect attempt) - it's prefered for deletion, because such a connection may be impossible (firewalls and friends).
1186
+
Peer* pDup = pPi->m_pLive;
1186
1187
1187
-
if (!pPi->m_pLive->IsSecureOut() || (m_This.m_MyPublicID > msg.m_ID))
1188
+
if (!pDup->IsSecureOut() || (m_This.m_MyPublicID > msg.m_ID))
0 commit comments