Christopher Kohlhoff
d35b87ff27
Update documentation for dispatch, post, and defer.
2022-03-04 21:06:50 +11:00
Christopher Kohlhoff
2117b3ee7e
Expose recycling_allocator as part of public interface.
2022-03-04 20:56:45 +11:00
Christopher Kohlhoff
7d11898559
Use default alignment as minimum alignment for allocations.
2022-03-04 20:56:45 +11:00
Christopher Kohlhoff
626a7a4877
Translate system errors returned by openssl 3.0 or later.
2022-03-04 20:56:45 +11:00
Christopher Kohlhoff
58ea397ae6
Don't use deprecated RSA-specific functions for openssl 3.0 or later.
2022-03-04 20:56:45 +11:00
Christopher Kohlhoff
5998ebd1b4
Don't use ERR_func_error_string for openssl 3.0 or later.
2022-03-04 20:51:55 +11:00
Christopher Kohlhoff
9353485917
Remove DH struct usage for OpenSSL 3.0+.
...
It's deprecated in OpenSSL 3.0. Use `SSL_CTX_set0_tmp_dh_pkey` for
setting the DH parameters from an `EVP_PKEY`, which is new in OpenSSL
3.0.
2022-03-04 20:39:47 +11:00
Christopher Kohlhoff
13e6a61fb1
Fix variable reference in sockatmark().
2022-03-04 20:39:34 +11:00
Christopher Kohlhoff
7162c9675d
Rework reference documentation in terms of completion tokens.
2022-03-02 22:13:21 +11:00
Christopher Kohlhoff
e935ce35ce
Document per-operation cancellation for serial ports.
2022-03-02 22:13:21 +11:00
Christopher Kohlhoff
4e163b8ac1
Add cancellation_slot support to signal sets.
2022-03-02 22:13:21 +11:00
Christopher Kohlhoff
61ca6c72e8
Enable movable iostreams for clang.
2022-03-02 22:13:21 +11:00
Christopher Kohlhoff
5ca6c06ac3
Add workaround for apparent coroutine codegen bug with Apple's clang.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
00f418b6a0
Mark dynamic_buffer() result as nodiscard.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
0120f59a13
Mark buffer() result as nodiscard.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
faee1d9439
Fix promise.hpp: 'all_of': is not a member of 'std'.
...
Fix missing include (on VS2019).
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
71964b22c7
Header <utility> is needed for std::exchange.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
7925552a89
Mark experimental::make_parallel_group() result as nodiscard.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
b268f81709
Mark experimental::prepend() result as nodiscard.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
22f231df2a
Mark experimental::append() result as nodiscard.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
b8934f95c6
Mark experimental::as_tuple() result as nodiscard.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
8b72c3a6a5
Mark experimental::as_single() result as nodiscard.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
46b8e01a16
Mark get_associated_cancellation_slot() result as nodiscard.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
cc61699a52
Mark get_associated_executor() result as nodiscard.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
eb84be54b2
Mark get_associated_allocator() result as nodiscard.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
4102f2a86e
Mark make_work_guard() result as nodiscard.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
26aa1fb96d
Mark bind_cancellation_slot() result as nodiscard.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
9ab631ecf8
Mark bind_allocator() result as nodiscard.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
72117ebf63
Mark bind_executor() result as nodiscard.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
5d852c14bc
Remove unused lambda capture.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
20a24bfdec
Add missing include of error_code.hpp.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
9ea96c3fa9
Add file_base::sync_all_on_write flag.
...
Maps to:
- O_SYNC on POSIX
- FILE_FLAG_WRITE_THROUGH on Windows
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
768498ab89
Document 'Completion Signature' for each asynchronous operation.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
c469b21031
Add support for adopting an existing SSL* into an ssl::stream<>.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
d30c94297d
Fix any_io_executor with BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT and BOOST_ASIO_SEPARATE_COMPILATION.
...
Previous commits didn't take account of the possibility to use the both defines above.
Hence, any_io_executor.ipp would be compiled anyway, but `any_io_executor` is just a typedef.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
fc021c78b2
Fix bind_cancellation_slot compatibility with legacy completion tokens.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
784575a3d3
Fix bind_executor compatibility with legacy completion tokens.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
64faf0a6d2
Enable executor_work_guard<> even when ASIO_NO_TS_EXECUTORS is defined.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
0bfa387d2c
Add missing implementation of basic_file::release().
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
24cf583761
Fix small typo in documentation for ip::v6_only socket option.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
3329cbe225
Fix move operator= for stream_core.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
67a7e6b5c1
Fix missing reference to sender_endpoint in io_uring_socket_recvfrom_op.
2022-03-02 21:57:42 +11:00
Christopher Kohlhoff
5cc78465eb
Fixed detail::has_allocator_type<T> not matching T::allocator_type
2022-03-02 21:57:41 +11:00
Christopher Kohlhoff
3cd04eee90
Add bind_allocator.
2022-03-02 21:57:41 +11:00
Christopher Kohlhoff
9eb306115d
Include detail/concurrency_hint.hpp from io_context.hpp.
2022-03-02 21:24:32 +11:00
Christopher Kohlhoff
e1ba125248
Fix 'zero as null pointer constant' warning.
2022-03-02 21:24:15 +11:00
Christopher Kohlhoff
20ed628d43
Fix associator specialisations for append and prepend.
2022-03-02 21:24:01 +11:00
Christopher Kohlhoff
ff58013a23
Update copyright notices.
2022-03-02 21:23:52 +11:00
Christopher Kohlhoff
3966a24bae
Version bump.
2021-12-02 10:02:56 +11:00
Christopher Kohlhoff
44eb830ee1
Fix awaitable move operator return value.
2021-12-02 08:55:47 +11:00