monero/src
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
..
blockchain_db core: move the LockedTXN class out of txpool so it may be reused 2020-03-12 11:30:05 +00:00
blockchain_utilities Merge pull request #6094 2020-02-06 00:30:48 -08:00
blocks 0.15.0.0 release engineering 2019-11-02 17:21:52 +02:00
checkpoints 0.15.0.0 release engineering 2019-11-02 17:21:52 +02:00
common Merge pull request #6336 2020-03-31 15:14:12 -05:00
crypto Merge pull request #6298 2020-03-31 13:36:21 -05:00
cryptonote_basic p2p: remove old debug commands 2020-03-20 22:09:44 -07:00
cryptonote_core Merge pull request #6336 2020-03-31 15:14:12 -05:00
cryptonote_protocol Merge pull request #6214 2020-03-31 13:32:55 -05:00
daemon Merge pull request #6225 2020-02-28 19:48:11 -08:00
daemonizer Fix #6147 DB corruption from child process overwrite 2019-11-17 14:04:22 +00:00
debug_utilities dns_checks: new helper program to check on DNSSEC lookups 2019-04-23 15:20:45 +00:00
device device: bounds checking in Ledger send_secret/receive_secret 2019-10-25 13:13:23 +00:00
device_trezor device: show address on device display 2019-06-17 16:49:04 +02:00
gen_multisig Update 2019 copyright 2019-03-05 22:05:34 +01:00
gen_ssl_cert gen_ssl_cert: new tool to generate SSL certs for Monero 2019-10-24 17:47:52 +00:00
hardforks v12 fork heights 2019-10-18 20:32:25 +02:00
lmdb lmdb: Remove meaningless const qualifier on function type 2019-11-04 02:28:45 -07:00
mnemonics mnemonics: fix 4 byte UTF-8 rewriting 2019-04-30 21:10:54 +00:00
multisig Update 2019 copyright 2019-03-05 22:05:34 +01:00
net net: fix incorrect less operator for top/i2p addresses 2020-01-18 19:18:56 -08:00
p2p p2p: fix frequent weak_ptr exception on connection 2020-03-31 20:29:41 +00:00
platform Update 2019 copyright 2019-03-05 22:05:34 +01:00
ringct Merge pull request #6049 2019-12-12 13:43:57 -06:00
rpc Merge pull request #6325 2020-03-31 15:13:51 -05:00
serialization workaround for GetObject windows.h macro and rapidjson conflict 2020-03-14 00:46:47 +00:00
simplewallet simplewallet: warn about correlations if print-ring-members is not set 2020-03-28 11:46:06 +00:00
wallet Merge pull request #6304 2020-03-31 15:13:19 -05:00
CMakeLists.txt build: fix IOS, build blockchain_db and rpc, skip wallet_rpc_server 2019-11-09 14:21:22 +00:00
cryptonote_config.h p2p: remove old debug commands 2020-03-20 22:09:44 -07:00
version.cpp.in 0.15.0.0 release engineering 2019-11-02 17:21:52 +02:00
version.h wallet, rpc: add a release field to get_version 2019-08-26 19:28:25 +00:00