2
0
mirror of https://github.com/boostorg/asio.git synced 2026-02-02 08:22:08 +00:00
Commit Graph

733 Commits

Author SHA1 Message Date
Christopher Kohlhoff
61e0ad085d Fix async_result when used with handler_type. 2018-04-01 15:28:38 +10:00
Christopher Kohlhoff
9660e81957 Correct prepare_memfn_helper test.
Fix prepare_memfn_helper test to use intended member function
'prepare' rather than 'data' copied by mistake from previous check.
2018-04-01 15:28:38 +10:00
Christopher Kohlhoff
5672713c90 Change socket iostreams to use chrono by default.
Define BOOST_ASIO_USE_BOOST_DATE_TIME_FOR_SOCKET_IOSTREAM to enable the
old Boost.Date_Time interface in basic_socket_streambuf and
basic_socket_iostream.
2018-04-01 15:28:37 +10:00
Christopher Kohlhoff
c30ed33c5e Ignore operations posted to a strand during shutdown. 2018-03-12 22:32:35 +11:00
Christopher Kohlhoff
dbccc3beea Fix redirect_error to work with non-const error_codes. 2018-03-12 22:25:17 +11:00
Christopher Kohlhoff
1b61364239 Add missing include of <sys/timerfd.h>. 2018-03-09 20:59:09 +11:00
Christopher Kohlhoff
30b047b1e6 Ensure all coroutine layers are correctly attached to the 'stack'. 2018-03-09 20:57:53 +11:00
Christopher Kohlhoff
41ef7c48df Version bump. 2018-03-07 17:30:08 +11:00
Christopher Kohlhoff
95129f34ca Fix spurious resumption. 2018-03-06 22:19:51 +11:00
Christopher Kohlhoff
9b45abcbff Restrict the types that may be awaited. 2018-03-06 07:32:47 +11:00
Christopher Kohlhoff
97b11c49b7 Fix MSVC compile error. 2018-03-06 07:30:44 +11:00
Christopher Kohlhoff
f7222d0866 Fix namespace qualification issues. 2018-03-05 23:00:10 +11:00
Christopher Kohlhoff
37d49a4f68 Allow the awaitable to be stored and co_await applied to it later. 2018-03-05 22:50:26 +11:00
Christopher Kohlhoff
9cb2eba353 Use memory recycling for awaitees. 2018-03-05 22:48:22 +11:00
Christopher Kohlhoff
c989109489 Fix up make_work_guard ambiguity. 2018-03-04 23:09:04 +11:00
Christopher Kohlhoff
deb02f7a69 Add convenience header for experimental features. 2018-03-04 23:09:04 +11:00
Christopher Kohlhoff
b30dfe8224 Add new experimental::co_spawn function. 2018-03-04 23:09:04 +11:00
Christopher Kohlhoff
142222c0e6 Add new experimental::redirect_error completion token type. 2018-03-04 22:06:55 +11:00
Christopher Kohlhoff
169d1d8cef Add new experimental::detached_t completion token type. 2018-03-04 22:06:12 +11:00
Christopher Kohlhoff
a589d7344a Add missing const qualification to acceptor's get_option members. 2018-03-04 22:02:27 +11:00
Christopher Kohlhoff
69c5b2e31e Work around a mysterious parsing error that occurs with some versions of gcc. 2018-03-04 22:00:17 +11:00
Christopher Kohlhoff
886839cf55 Update copyright notices. 2018-03-04 21:59:30 +11:00
Christopher Kohlhoff
0c9cbdfbf2 Version bump. 2017-12-06 00:10:04 +11:00
Christopher Kohlhoff
1eaa59ea2a gcc 4.7 is the minimum version required for std::allocator_traits. 2017-12-05 07:38:14 +11:00
Christopher Kohlhoff
df2abf35da Ensure that use_future<std::allocator<void>> is always constexpr default-constructible. 2017-12-04 09:08:25 +11:00
Christopher Kohlhoff
4883dcd6c7 Add missing variadic template emulation in use_future. 2017-12-03 23:32:35 +11:00
Christopher Kohlhoff
435f47e8e3 Disable buffer debugging for older MSVC, as it triggers compiler misbehaviour. 2017-12-03 21:56:50 +11:00
Christopher Kohlhoff
619cea4356 Add check for _DEFAULT_SOURCE in addition to _BSD_SOURCE. 2017-12-03 21:53:33 +11:00
Christopher Kohlhoff
a57cb2a7a6 Suppress recv truncation errors on Windows, to match POSIX behaviour. 2017-12-02 18:25:44 +11:00
Christopher Kohlhoff
cdd4a0cc81 Add documentation examples of using asio::post to submit work. 2017-12-02 16:13:27 +11:00
Christopher Kohlhoff
c34e42c129 Don't directly include <chrono>, to keep header C++03-compatible. 2017-12-02 10:57:05 +11:00
Christopher Kohlhoff
077ed86047 Add headers for TS compatibility. 2017-12-02 10:23:24 +11:00
Christopher Kohlhoff
dfa54b4fc5 Suppress MSVC dynamic initialisation warning. 2017-12-02 10:09:55 +11:00
Christopher Kohlhoff
8a8157c36d Add waitable timer headers to convenience header. 2017-12-02 09:16:54 +11:00
Christopher Kohlhoff
7b996f66bd Increase number of buffers per operation for consuming_buffers.
Use a smaller number of buffers when the count can be determined at compile
time, e.g. for std::array or boost::array.
2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
282de16d9b Increase threshold for small memory block recycling to 1KB. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
2bfd4d24d0 Make sure asio/system_context.hpp is self-contained. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
78df0763bf Don't call memcpy with length 0, to avoid passing null pointers. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
f8a0469702 Fix description of std::getline's behaviour. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
26d4af19c1 Fix clang narrowing warning. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
646250076b Remove last remaining instance of auto_ptr. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
edbe617864 Restore binder support for 3, 4 and 5 arguments. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
aa0bf0a8b3 Reapply double delete fix, which was overwritten by Networking TS merge. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
2e61c6f29f Add backward compatibility for the old ConnectCondition form. 2017-11-08 00:08:40 +11:00
Christopher Kohlhoff
875788fde3 Ensure make_network_vX error_code overload doesn't throw on invalid prefix length. 2017-11-08 00:08:40 +11:00
Christopher Kohlhoff
f15e842c79 Fix the rights for event objects on UWP. 2017-11-08 00:08:40 +11:00
Christopher Kohlhoff
53f052c9a0 Suppress implicit fallthrough warning on newer gcc. 2017-11-08 00:08:40 +11:00
Christopher Kohlhoff
bfa3e0373e Fix clang version detection for suppression of unused typedef warning. 2017-11-08 00:08:40 +11:00
Christopher Kohlhoff
a778425068 Fix compile errors in some asio::connect overloads. 2017-11-08 00:08:40 +11:00
Christopher Kohlhoff
d484b66453 Bump minimum MSVC version required for C++11 allocators. 2017-10-25 07:58:21 +11:00