21fe6a289b
When a handshake fails, it can fail due to timeout or destroyed connection, in which case the connection will be, or already is, closed, and we don't want to do it twice. Additionally, when closing a connection directly from the top level code, ensure the connection is gone from the m_connects list so it won't be used again. AFAICT this is now clean in netstat, /proc/PID/fd and print_cn. This fixes a noisy (but harmless) exception. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
net_node_common.h | ||
net_node.cpp | ||
net_node.h | ||
net_node.inl | ||
net_peerlist_boost_serialization.h | ||
net_peerlist.cpp | ||
net_peerlist.h | ||
p2p_protocol_defs.h | ||
stdafx.h |