monero/contrib
moneromooo-monero 21fe6a289b
p2p: fix frequent weak_ptr exception on connection
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.
2020-03-31 20:29:41 +00:00
..
brew Add Brewfile to allow for an even easier management of dependencies 2019-04-15 14:46:26 +02:00
codefresh Added Codefresh.yml pipeline 2018-08-08 20:11:04 +03:00
depends Merge pull request #6251 2020-03-12 00:57:22 -07:00
epee p2p: fix frequent weak_ptr exception on connection 2020-03-31 20:29:41 +00:00
fuzz_testing fuzz_tests: add a bulletproof fuzz test 2018-09-11 13:38:21 +00:00
gitian Merge pull request #6290 2020-03-27 12:29:18 -07:00
lsan contrib: add a suppressions file for leak sanitizer 2019-08-29 11:11:59 +00:00
rlwrap remove obsolete save_graph skeleton code 2019-05-10 14:17:18 +00:00
snap Clarification of boolean options in config file 2018-07-18 20:07:05 +02:00
valgrind easylogging++: faster access to logging 2018-11-27 13:55:21 +00:00
CMakeLists.txt Update 2019 copyright 2019-03-05 22:05:34 +01:00