Boris Sergeev
1156fad4f0
Make add_certificate_authority process multiple certificates in a bundle
2018-03-30 11:38:07 +11:00
Christopher Kohlhoff
9a7ccb9bf3
Don't call SSL_COMP_free_compression_methods if SSL_OP_NO_COMPRESSION is defined.
2018-03-30 11:29:40 +11:00
Christopher Kohlhoff
129c654e3c
Fix typo in detail::consuming_buffers specialisation.
2018-03-30 11:11:23 +11:00
Christopher Kohlhoff
37e32598cb
Fix basic_resolver_results::value_type typedef.
2018-03-30 10:06:37 +11:00
Christopher Kohlhoff
5fdb48bd34
Add missing move in ssl asynchronous operation.
2018-03-30 10:01:11 +11:00
Konstantin Podsvirov
d31062f3fc
Fix includes in some cpp11 and cpp14 examples
...
This small changes fix building of the some standalone examples with MSVC.
Includes:
#include <ctime> # for std::time_t and std::ctime();
#include <numeric> # for std::iota();
#include <cctype> # for std::toupper().
2018-03-30 09:48:35 +11:00
Peter Jankuliak
21e86ec26d
Fix async_result when used with handler_type
2018-03-30 09:44:36 +11:00
regular384
68180a19ff
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-03-30 09:43:00 +11:00
Christopher Kohlhoff
08c1955017
Detect C++11 and C++14 and automatically enable corresponding examples.
2018-03-30 09:40:16 +11:00
Christopher Kohlhoff
bca41a6b19
Regenerate list of installed header files.
2018-03-30 08:13:37 +11:00
Christopher Kohlhoff
6711b85da8
Update examples to use chrono rather than Boost.Date_Time.
...
N.B. The Windows-specific tick_count_timer example has been removed as it has
been superseded by timers based on the standard steady_clock. It's also not
clear how to map a wrapping time source to the standard chrono concepts.
2018-03-30 08:13:37 +11:00
Christopher Kohlhoff
d8387c93b3
Change socket iostreams to use chrono by default.
...
Define 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-03-30 08:13:25 +11:00
Christopher Kohlhoff
a918966260
Fix unit tests to compile when ASIO_NO_DEPRECATED is defined.
2018-03-30 08:10:13 +11:00
Christopher Kohlhoff
b9855c9fdb
Update timeout examples to use latest features.
...
* Use asio::steady_timer rather than asio::deadline_timer.
* Use asio::dynamic_buffer rather than asio::streambuf.
* Use timed asio::io_context::run_for() function for blocking clients.
* Add example showing a custom completion token for blocking with timeouts.
2018-03-30 08:10:13 +11:00
Christopher Kohlhoff
501dfc424a
Ignore operations posted to a strand during shutdown.
2018-03-12 22:25:35 +11:00
Christopher Kohlhoff
7a39d8a7d9
Fix redirect_error to work with non-const error_codes.
2018-03-12 22:22:10 +11:00
Christopher Kohlhoff
25b8ff168a
Add missing include of <sys/timerfd.h>.
2018-03-09 13:14:33 +11:00
Christopher Kohlhoff
2acd085dc4
Clean up some experimental::co_spawn examples.
2018-03-09 10:05:53 +11:00
Christopher Kohlhoff
8f39bf249f
Ensure all coroutine layers are correctly attached to the 'stack'.
2018-03-09 09:55:53 +11:00
Christopher Kohlhoff
83c28c582f
Add some more experimental::co_spawn examples.
2018-03-07 17:11:59 +11:00
Christopher Kohlhoff
af776b1522
Fix spurious resumption.
2018-03-06 22:17:16 +11:00
Christopher Kohlhoff
9a0585b63d
Restrict the types that may be awaited.
2018-03-06 07:27:11 +11:00
Christopher Kohlhoff
daf25a7f4f
Fix MSVC compile error.
2018-03-06 07:22:34 +11:00
Christopher Kohlhoff
5680bbb24b
Fix namespace qualification issues.
2018-03-05 22:59:43 +11:00
Christopher Kohlhoff
d4848c3cc4
Allow the awaitable to be stored and co_await applied to it later.
2018-03-05 22:32:52 +11:00
Christopher Kohlhoff
4cdff8b803
Use memory recycling for awaitees.
2018-03-05 09:45:44 +11:00
Christopher Kohlhoff
ad1751063a
Regenerate documentation.
2018-03-04 23:06:17 +11:00
Christopher Kohlhoff
1728c8fa42
Add experimental features to documentation.
2018-03-04 23:06:17 +11:00
Christopher Kohlhoff
51dcdb7d93
Fix up make_work_guard ambiguity.
2018-03-04 22:36:02 +11:00
Christopher Kohlhoff
80c6f596c8
Add experimental::co_spawn examples.
2018-03-04 22:36:02 +11:00
Christopher Kohlhoff
4e58a1b8ad
Add new experimental directory to boostify script.
2018-03-04 22:36:02 +11:00
Christopher Kohlhoff
32cd6fdfa7
Add convenience header for experimental features.
2018-03-04 22:36:02 +11:00
Christopher Kohlhoff
ea40e78451
Add new experimental::co_spawn function.
2018-03-04 22:36:02 +11:00
Christopher Kohlhoff
be369c9789
Add new experimental::redirect_error completion token type.
2018-03-04 21:29:57 +11:00
Christopher Kohlhoff
15ae0bb7a6
Add new experimental::detached_t completion token type.
2018-03-04 21:29:57 +11:00
Christopher Kohlhoff
7b2d186ced
Add missing const qualification to acceptor's get_option members.
2018-03-04 21:29:46 +11:00
Christopher Kohlhoff
66a1943c55
Work around a mysterious parsing error that occurs with some versions of gcc.
2018-03-04 21:18:13 +11:00
Christopher Kohlhoff
4ebd33ce55
Update copyright notices.
2018-03-04 21:13:14 +11:00
Christopher Kohlhoff
b3d2ab7255
asio version 1.12.0 released
2018-03-04 19:21:01 +11:00
Christopher Kohlhoff
d9161a36e0
Update release script to match new boost doc build.
2018-03-04 19:21:01 +11:00
Christopher Kohlhoff
54c7b85dea
Update revision history.
2018-03-04 19:21:01 +11:00
Christopher Kohlhoff
9eaa2a2e55
Update tutorial text to use 'io_context'.
2018-03-04 18:17:34 +11:00
Christopher Kohlhoff
41eb9dc203
Ignore tsified directory.
2017-12-13 09:26:59 +11:00
Christopher Kohlhoff
9229964dc1
Don't use inline namespace 'v1' in example code snippets.
2017-12-11 07:00:29 +11:00
Christopher Kohlhoff
10098abd6e
Include inline namespace 'v1' in tsified code.
2017-12-10 11:14:30 +11:00
Christopher Kohlhoff
9bdbef19fe
Regenerate documentation.
2017-12-10 10:21:04 +11:00
Christopher Kohlhoff
8fa11a15da
Exclude use_future_t implementation detail from documentation.
2017-12-10 09:14:07 +11:00
Christopher Kohlhoff
577b698062
Workaround broken doxygen typedef linking when primary template is undefined.
2017-12-10 09:08:06 +11:00
Christopher Kohlhoff
ea1b39f048
Fix tsify.pl to work with latest code.
2017-12-10 08:41:03 +11:00
Christopher Kohlhoff
694ed52843
Document the new concurrency hints.
2017-12-10 08:18:56 +11:00