Christopher Kohlhoff
14c0108b2c
Fix typo in ssl::stream::async_write_some documentation.
2018-11-05 14:47:12 +11:00
Christopher Kohlhoff
ed775a2ef1
Fix incorrect reference to 'io_context' in thread_pool documentation.
2018-11-05 14:47:12 +11:00
Christopher Kohlhoff
f5440aa76e
Fix MSVC version number for availability of std::invoke_result.
2018-11-05 14:47:12 +11:00
Christopher Kohlhoff
b397659ded
Test language version using _MSVC_LANG rather than _HAS_CXX17.
2018-11-05 14:47:12 +11:00
Christopher Kohlhoff
2e30e9d327
Update buffer sequence traits to test new requirements, if decltype is available.
2018-11-05 14:47:12 +11:00
Christopher Kohlhoff
a591f818f2
Define buffer sequence traits after buffer_sequence_begin/end has been defined.
2018-11-05 14:47:12 +11:00
Christopher Kohlhoff
6d2b56aafa
Fix MSVC issue when building with exceptions disabled.
2018-11-05 14:47:12 +11:00
Christopher Kohlhoff
42a94f7cb4
Add options for TLS v1.3.
2018-11-05 14:47:12 +11:00
Christopher Kohlhoff
91b2dcf43d
Fix typo in 'Streams, Short Reads and Short Writes' documentation section.
2018-11-05 14:47:12 +11:00
Christopher Kohlhoff
5cb855d024
Prevent global objects from being created once per thread on Windows.
2018-11-05 14:47:12 +11:00
Christopher Kohlhoff
414cdf4f83
Use heading elements to keep asynchronous requirements on one page.
2018-11-05 14:47:12 +11:00
Christopher Kohlhoff
a3f713e393
Fix crash when using size(), max_size() or empty() on default-constructed resolver results.
2018-11-05 14:47:12 +11:00
Petr Hosek
912d0d67f9
Move the return value in basic_resolver_results::begin() to avoid copying.
...
This is reported as a warning by recent Clang.
2018-11-05 14:47:12 +11:00
Christopher Kohlhoff
83e24fa04f
Don't use BOOST_VERSION macro in standalone mode.
2018-11-03 22:15:49 +11:00
Luke Elliott
98e0bf115a
ASIO_HAS_DECL_TYPE should be ASIO_HAS_DECLTYPE in is_buffer_sequence.hpp.
2018-11-03 22:08:31 +11:00
Caleb Epstein
6554073823
Fix bug in deregister_handler in actor example.
2018-11-03 21:55:03 +11:00
Mario Emmenlauer
547f06a1e4
Enable move support for the Intel Compiler.
2018-11-03 21:52:37 +11:00
Zsolt Parragi
0f9b727e9f
Do not double define has_string_view with clang-cl
...
Clang-cl identifies both as clang and as MSVC.
This resulted in defining ASIO_HAS_STD_STRING_VIEW twice.
2018-11-03 21:29:24 +11:00
Christopher Kohlhoff
39a9be7786
Fix handler tracking operation name for io_context::executor_type::dispatch.
2018-11-03 15:53:25 +11:00
Christopher Kohlhoff
eed73f024d
Fix buffer overflow when parsing an address string with a 64-bit scope id.
2018-11-03 15:45:35 +11:00
Christopher Kohlhoff
b73dc1d2c0
asio version 1.12.1 released
2018-04-15 08:46:41 +10:00
Christopher Kohlhoff
3d3bbae1b6
Add cpp17 examples to distribution.
2018-04-15 08:27:42 +10:00
Christopher Kohlhoff
157bdf2a87
Revision history.
2018-04-15 07:20:10 +10:00
Christopher Kohlhoff
5736e51cf5
Add Coroutines TS overview and examples to documentation.
2018-04-15 07:16:53 +10:00
Christopher Kohlhoff
b0926b61b0
Regenerate documentation.
2018-04-01 21:58:52 +10:00
Christopher Kohlhoff
5318eaafd6
Check for gthreads before enabling std::future with g++.
2018-04-01 21:31:55 +10:00
Christopher Kohlhoff
bf69d3f390
Need namespace cstd for sprintf.
2018-04-01 15:49:08 +10:00
Christopher Kohlhoff
a2992ace2c
Remove accidentally added file.
2018-04-01 15:22:36 +10:00
Christopher Kohlhoff
5ddede1e25
Fix storage of decayed function and handler in spawn()-ed coroutine.
2018-03-30 20:29:03 +11:00
Yury Yaroshevich
173871f855
Fixed compilation on Android NDK15+
2018-03-30 15:49:43 +11:00
Christopher Kohlhoff
450e65093b
Fix basic_yield_context support for completion signatures with reference parameters.
2018-03-30 15:45:08 +11:00
Christopher Kohlhoff
bf70ad6062
Explicitly ignore result of iterator dereference.
2018-03-30 15:34:29 +11:00
Christopher Kohlhoff
479a0c51f4
Distinguish legacy completion handlers (which must be CopyConstructible).
2018-03-30 15:19:57 +11:00
Christopher Kohlhoff
d47931da7b
Decay the DynamicBuffer type used in enable_if tests.
2018-03-30 14:51:33 +11:00
Christopher Kohlhoff
3c7bbe42ea
Use std::string_view for C++17 or later, and std::experimental::string_view for C++14.
...
Define the preprocessor macro ASIO_DISABLE_STD_STRING_VIEW to force the
use of std::experimental::string_view (assuming it is available) when
compiling in C++17 mode.
2018-03-30 14:51:33 +11:00
Christopher Kohlhoff
b4245aac24
Use std::invoke_result with recent MSVC.
2018-03-30 13:31:01 +11:00
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