2
0
mirror of https://github.com/boostorg/asio.git synced 2026-02-21 13:32:07 +00:00
Commit Graph

2072 Commits

Author SHA1 Message Date
Christopher Kohlhoff
291d23b29b Enable thread_local if boost config says it's available. 2023-08-01 18:46:14 +10:00
Christopher Kohlhoff
4970949de9 Enable __thread keyword extension when compiling using Apple clang. 2023-08-01 18:45:53 +10:00
Christopher Kohlhoff
7302b69966 Document per-operation cancellation for async_compose. 2023-08-01 18:45:34 +10:00
Christopher Kohlhoff
0ba82b3e63 Fix experimental::co_composed's per-operation cancellation docs.
Updated the documentation for experimental::co_composed to correctly
state that terminal cancellation is enabled by default.
2023-08-01 18:42:37 +10:00
Christopher Kohlhoff
10e73cbb7f Version bump. 2023-07-05 22:15:46 +10:00
Christopher Kohlhoff
d222a95d1c Revision history. 2023-07-05 22:14:21 +10:00
Christopher Kohlhoff
b4ed3f67ff Add missing c++14 echo examples. 2023-07-05 21:38:20 +10:00
Christopher Kohlhoff
b11a32ea33 Ensure io_uring run() function timeouts are cleaned up correctly. 2023-07-05 20:13:53 +10:00
Christopher Kohlhoff
88306c3634 Don't use deprecated implicit copy constructor on bad_address_cast. 2023-07-05 20:13:29 +10:00
Christopher Kohlhoff
23bb9bbcfa Prevent registration leak on signal_set implementation error paths. 2023-07-05 20:10:46 +10:00
Christopher Kohlhoff
4be013fbfb Fix the converting move constructors for channels. 2023-07-05 20:10:23 +10:00
Christopher Kohlhoff
28bd1412c2 Check kernel version for io_uring, as 5.10 or later is required. 2023-07-05 20:10:04 +10:00
Christopher Kohlhoff
75fbf393e9 Fix possible loss of data when converting socket descriptor on 64-bit platforms.
Fixes an issue in per-operation cancellation when using the reactor
backend on Windows. For portability, the descriptor field must be
socket_type.
2023-07-05 20:09:48 +10:00
Christopher Kohlhoff
a2ec18aff6 Workaround for coro compile error with MSVC.
This addresses a problem with MSVC where it incorrectly reports a syntax
error when compiling code that uses asio::experimental::coro.
2023-07-05 20:09:27 +10:00
Christopher Kohlhoff
6d0bf50724 Reduce duplicated state in the co_spawn entry point. 2023-07-05 20:09:11 +10:00
Christopher Kohlhoff
cb2535142e Add unit test for any_completion_handler. 2023-07-05 20:08:49 +10:00
Christopher Kohlhoff
e4c5a437b3 Add unit test for any_completion_executor. 2023-07-05 20:08:01 +10:00
Christopher Kohlhoff
78593611ff Add unit test for any_io_executor. 2023-07-05 20:07:33 +10:00
Christopher Kohlhoff
58746c759c Check for null target in any_executor query(), require() and prefer().
Fixes a crash due to a null pointer dereference when attempting a
property operation on an empty polymorphic executor. Now throws
bad_executor if empty.
2023-07-05 20:06:07 +10:00
Christopher Kohlhoff
20c56dca3a Make any_completion_handler compatible with associated_immediate_executor. 2023-07-05 20:05:52 +10:00
Christopher Kohlhoff
63d4eb8a92 Fix copy/paste error in dev_poll_reactor. 2023-07-05 20:05:17 +10:00
Christopher Kohlhoff
c12581dcee Fix as_tuple to preserve constness when forwarding adapted tokens. 2023-04-07 11:32:47 +10:00
Christopher Kohlhoff
975e4cab9f Version bump. 2023-04-05 23:04:33 +10:00
Christopher Kohlhoff
464c141c28 Revision history. 2023-04-05 23:03:51 +10:00
Christopher Kohlhoff
5eb3c7e82a Regenerate documentation. 2023-04-05 21:43:22 +10:00
Christopher Kohlhoff
a788ad8457 Fix links to experimental::promise reference page. 2023-04-05 21:43:14 +10:00
Christopher Kohlhoff
f07f0c74b7 Fix doc generation for is_async_operation. 2023-04-05 21:43:14 +10:00
Christopher Kohlhoff
2b237955b4 Add immediate completion to the overview. 2023-04-05 21:08:23 +10:00
Christopher Kohlhoff
cedcfbec14 Add a link to the asio-debugger-extensions repository. 2023-04-05 21:08:23 +10:00
Christopher Kohlhoff
67ad756f4e Add buffer literals to the documentation. 2023-04-05 21:08:23 +10:00
Christopher Kohlhoff
aba42faf19 Add co_composed to the overview. 2023-04-05 21:00:23 +10:00
Christopher Kohlhoff
e5abd8544c Add any_completion_handler to the overview. 2023-04-05 21:00:23 +10:00
Christopher Kohlhoff
80c7f5224b Add immediate completion to asynchronous operation requirements. 2023-04-05 21:00:23 +10:00
Christopher Kohlhoff
767d6ce8ca Add missing sub macro. 2023-04-05 21:00:23 +10:00
Christopher Kohlhoff
0d4342efa0 Add new macro to doxygen configuration. 2023-04-05 19:34:42 +10:00
Christopher Kohlhoff
680c7e5c7a Use cached offset when seeking a file with seek_cur on Windows. 2023-04-04 20:20:47 +10:00
Christopher Kohlhoff
abe32d5986 Fix clean up of internal I/O object structures when using io_uring. 2023-04-04 20:20:47 +10:00
Christopher Kohlhoff
3c33f03c38 Minor coro fixes for ones with custom allocators. 2023-04-04 20:20:47 +10:00
Christopher Kohlhoff
a4b0f59b37 Fix incorrect reuse of moved-from result in experimental::promise. 2023-04-04 20:20:47 +10:00
Christopher Kohlhoff
9c851335d4 Fix variadic template emulation for is_async_operation and completion_signature_of. 2023-04-04 20:20:47 +10:00
Christopher Kohlhoff
31db19028e Fix interpretation of tuple-based results in experimental::coro. 2023-04-04 20:20:47 +10:00
Christopher Kohlhoff
ca0f1f9b23 Fix completion signature forwarding in use_coro implementation. 2023-04-04 20:20:47 +10:00
Christopher Kohlhoff
7bab8d55dc Ensure this_coro helper structs have explicit 1-arg constructors.
To prevent implicit conversion in co_await expressions.
2023-04-04 20:20:47 +10:00
Christopher Kohlhoff
a33370cbe0 Allow exceptions to escape from work_finished_on_block_exit destructor. 2023-04-04 20:20:47 +10:00
Christopher Kohlhoff
b57d962907 Fix redirect_error compatibility with new completion tokens. 2023-04-04 20:20:47 +10:00
Christopher Kohlhoff
19cff007b0 Fix as_tuple compatibility with legacy completion tokens. 2023-04-04 20:20:47 +10:00
Christopher Kohlhoff
1dd140aa69 Fix detection macro used in use_future's compatibility traits. 2023-04-04 20:20:47 +10:00
Christopher Kohlhoff
91a3159ffa Avoid evaluating concept when Executor1 is not an executor. 2023-04-04 20:20:47 +10:00
Christopher Kohlhoff
caa5341f18 Fix another shadowed variable. 2023-04-04 20:20:47 +10:00
Christopher Kohlhoff
dcfb06da53 Ensure ip::address_v4::to_ulong is marked as deprecated in the documentation. 2023-04-04 20:20:47 +10:00