danicoin/contrib/epee/include
moneromooo-monero 1e2f2d7da0
epee: fix hang on exit
When the boost ioservice is stopped, pending work notifications
will not happen. This includes deadline timers, which would
otherwise time out the now cancelled I/O operations. When this
happens just after starting a new connect operation, this can
leave that operations in a state where it won't receive either
the completion notification nor a timeout, causing a hang.

This is fixed by keeping a list of connections corresponding
to the connect operations, and cancelling them before stopping
the boost ioservice.

Note that the list of these connections can grow unbounded, as
they're never cleaned up. Cleaning them up would involve
working out which connections do not have any pending work,
and it's not quite clear yet how to go about this.
2015-12-22 12:39:02 +00:00
..
net epee: fix hang on exit 2015-12-22 12:39:02 +00:00
serialization year updated in license 2015-01-02 18:52:46 +02:00
storages Fix compile for GCC 5.1.0 2015-05-25 22:18:36 -07:00
ado_db_helper.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
console_handler.h console_handler: catch exception inside the input loop 2015-12-06 22:03:53 +00:00
copyable_atomic.h year updated in license 2015-01-02 18:52:46 +02:00
file_io_utils.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02: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
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
math_helper.h year updated in license 2015-01-02 18:52:46 +02:00
md5_l.h moved all stuff to github 2014-03-03 22:07:58 +00:00
md5_l.inl year updated in license 2015-01-02 18:52:46 +02:00
md5global.h moved all stuff to github 2014-03-03 22:07:58 +00:00
misc_language.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
misc_log_ex.h epee: make log macros behave like statements 2015-12-19 14:48:52 +00:00
misc_os_dependent.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02: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 modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
reg_exp_definer.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
reg_utils.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02: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
static_initializer.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
string_coding.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
string_tools.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
syncobj.h 2014 network limit 1.2 +utils +toc -doc -drmonero 2015-02-20 22:28:03 +01: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
zlib_helper.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00