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

1817 Commits

Author SHA1 Message Date
Christopher Kohlhoff
8a77375b02 Revision history. 2022-03-09 21:07:48 +11:00
Christopher Kohlhoff
96b8c01a99 Version bump. 2022-03-09 20:58:42 +11:00
Christopher Kohlhoff
2d4cec4a0a Fix memory management in experimental::promise's type-erased completion handlers. 2022-03-07 23:34:51 +11:00
Christopher Kohlhoff
0368055a75 Clear coro's cancellation slot at completion of each operation. 2022-03-07 23:32:36 +11:00
Christopher Kohlhoff
5898a5279c Add C++14 examples of wrapping callback-based APIs. 2022-03-07 23:32:16 +11:00
Christopher Kohlhoff
94eabfa33a Explicitly check io_uring is not the default before registering with reactor. 2022-03-07 23:29:59 +11:00
Christopher Kohlhoff
c143bf2c77 Fix circular inclusion issue. 2022-03-07 23:29:41 +11:00
Christopher Kohlhoff
31cc6e6743 Fix argument order in io_uring implementation of write_some_at. 2022-03-07 23:29:30 +11:00
Christopher Kohlhoff
ec00274244 Remove links to non-existing examples. 2022-03-07 23:29:18 +11:00
Christopher Kohlhoff
a2204b67f8 Add file descriptor passing examples to examples page. 2022-03-04 21:08:01 +11:00
Christopher Kohlhoff
55b8ecd62d Update Handler requirements. 2022-03-04 21:06:50 +11:00
Christopher Kohlhoff
e046e776d8 Update requirements on asynchronous operations. 2022-03-04 21:06:50 +11:00
Christopher Kohlhoff
d35b87ff27 Update documentation for dispatch, post, and defer. 2022-03-04 21:06:50 +11:00
Christopher Kohlhoff
8e69bf3cf3 Clarify the non-concurrency guarantees made for allocators. 2022-03-04 20:57:25 +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
001d6213ca Work around shutdown ordering issue in coro/executor test. 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
644a222a89 Regenerate documentation. 2022-03-02 22:13:21 +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
9208208d11 Add overview of asynchronous model. 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
31f93ed401 Fix "'this' pointer is null" warnings. 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
36e93b79bd Fix deprecated enum usage warning. 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