wownero/contrib/epee/include
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
..
net p2p: fix frequent weak_ptr exception on connection 2020-03-31 20:29:41 +00:00
serialization Merge pull request #6243 2020-03-12 00:32:46 -07:00
storages Merge pull request #6311 2020-03-31 15:13:35 -05:00
ado_db_helper.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
byte_slice.h Add ref-counted buffer byte_slice. Currently used for sending TCP data. 2019-07-16 16:30:35 +00:00
console_handler.h console_handler: do not let exception past the dor 2020-02-12 21:05:25 +00:00
copyable_atomic.h copyable_atomic: add a ctor with initial value 2017-09-27 11:43:08 +01:00
file_io_utils.h epee.string_tools: add conversion between UTF-8 and UTF-16 2018-06-28 09:40:26 +09:00
fnv1.h wallet: wipe seed from memory where appropriate 2018-08-16 09:17:52 +00:00
global_stream_operators.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
gzip_encoding.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
hex.h Various improvements to the ZMQ JSON-RPC handling: 2020-03-05 14:20:56 +00:00
hmac-md5.h moved all stuff to github 2014-03-03 22:07:58 +00:00
include_base_utils.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
int-util.h daemon, wallet: new pay for RPC use system 2019-10-25 09:34:38 +00:00
math_helper.h epee: allow a random component in once_a_time timeouts 2019-11-01 20:57:24 +00:00
md5_l.h Replace memset with memwipe. 2019-11-13 18:00:50 +01:00
md5_l.inl Removed boost/asio.hpp include from epee/string_tools.h 2017-03-18 22:05:14 -04:00
md5global.h moved all stuff to github 2014-03-03 22:07:58 +00:00
memwipe.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
misc_language.h default initialize rpc structures 2019-03-04 22:38:03 +00:00
misc_log_ex.h epee: misc_log_ex.h can now be used in C code 2019-09-24 15:47:31 +00:00
misc_os_dependent.h blockchain_stats: don't use gmtime_r on Windows 2018-11-21 00:50:53 +00:00
mlocker.h various: do not propagate exception through dtor 2018-11-15 15:53:21 +00:00
pragma_comp_defs.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
profile_tools.h move includes around to lessen overall load 2017-12-16 22:46:38 +00:00
readline_buffer.h simplewallet: lock console on inactivity 2019-08-28 19:01:48 +00:00
reg_exp_definer.h move includes around to lessen overall load 2017-12-16 22:46:38 +00:00
reg_utils.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
rolling_median.h blockchain: keep a rolling long term block weight median 2019-05-02 09:47:01 +00:00
service_impl_base.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
sha1.h moved all stuff to github 2014-03-03 22:07:58 +00:00
sha1.inl moved all stuff to github 2014-03-03 22:07:58 +00:00
soci_helper.h year updated in license 2015-01-02 18:52:46 +02:00
span.h Adding support for hidden (anonymity) txpool 2019-11-02 20:36:03 +00:00
static_initializer.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
stats.h performance_tests: better stats, and keep track of timing history 2019-01-28 15:45:37 +00:00
stats.inl performance_tests: better stats, and keep track of timing history 2019-01-28 15:45:37 +00:00
string_coding.h Removed some unused epee functions 2017-04-25 16:07:32 -04:00
string_tools.h epee: fix peer ids being truncated on display 2019-11-14 18:27:12 +00:00
syncobj.h syncobj.h no longer defines shared_guard, so remove those define's 2019-08-23 08:42:36 +02:00
time_helper.h year updated in license 2015-01-02 18:52:46 +02:00
tiny_ini.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
to_nonconst_iterator.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
warnings.h year updated in license 2015-01-02 18:52:46 +02:00
winobj.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
wipeable_string.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
zlib_helper.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00