2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-28 18:52:09 +00:00
Commit Graph

1593 Commits

Author SHA1 Message Date
Christopher Kohlhoff
aef596f395 Add missing colon in ssl/stream.hpp example code. 2024-03-06 00:49:11 +11:00
Christopher Kohlhoff
c36d3ef338 Update copyright notices. 2024-03-05 07:51:17 +11:00
Christopher Kohlhoff
2e49b21732 Version bump. 2023-12-07 00:59:57 +11:00
Christopher Kohlhoff
dc3eb7c1aa Migrate remaining c++03 examples to c++11. 2023-12-07 00:23:31 +11:00
Christopher Kohlhoff
76eea946f7 Fix async_handshake compatibility with default completion tokens. 2023-12-05 23:33:43 +11:00
Christopher Kohlhoff
993a5aa74c Prevent any_completion_handler's associators from crashing if there is no target. 2023-12-05 23:33:43 +11:00
Christopher Kohlhoff
b86b2dcd25 Add missing nothrow constructors to boost::asio::executor.
Fixes compatibility between boost::asio::any_completion_handler and
BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT.
2023-12-05 23:33:43 +11:00
Christopher Kohlhoff
73bf97adc8 Version bump. 2023-11-09 00:49:42 +11:00
Christopher Kohlhoff
27c352f77d Fix exception_ptr check on resume in spawn() implementation. 2023-11-07 23:23:59 +11:00
Christopher Kohlhoff
48d86921dd Add missing equality operators between blocking_adaptation.allowed and disallowed. 2023-11-07 23:23:15 +11:00
Christopher Kohlhoff
a2f236e16d Add missing equality operators between mapping.thread, new_thread and other. 2023-11-07 23:21:46 +11:00
Christopher Kohlhoff
1ef8b34d74 Add missing equality operators between outstanding_work.tracked and untracked. 2023-11-07 23:21:13 +11:00
Christopher Kohlhoff
746bd81b77 Add missing equality operators between relationship.fork and continuation. 2023-11-07 23:20:30 +11:00
Christopher Kohlhoff
77bc08c046 Fix compatibility between experimental::channel and any_completion_handler. 2023-11-07 23:20:05 +11:00
Christopher Kohlhoff
d48d95d3a3 Don't use deprecated form of user-defined literal operator. 2023-11-07 23:19:25 +11:00
Christopher Kohlhoff
5362e6940e Delete unused assignment operators. 2023-11-07 23:18:46 +11:00
Christopher Kohlhoff
e1d4890f02 Add support for two channel payload signatures with c++11. 2023-11-01 23:12:14 +11:00
Christopher Kohlhoff
08b8c3cec3 Add try_send_via_dispatch/try_send_n_via_dispatch functions to channels. 2023-11-01 23:12:14 +11:00
Christopher Kohlhoff
dffcedcc1b Qualify names to fix MSVC ambiguity error. 2023-11-01 23:11:59 +11:00
Christopher Kohlhoff
1bb075cb1d Remove dependency on boost.regex headers. 2023-10-28 22:23:26 +11:00
Christopher Kohlhoff
add946f3a2 Use standard placeholders for implementing asio::placeholders.
Adds compatibility with both std::bind and boost::bind.
2023-10-28 22:22:36 +11:00
Christopher Kohlhoff
3a3a8ff06d Clean up formatting. Remove unnecessary namespace qualification. 2023-10-28 22:20:25 +11:00
Christopher Kohlhoff
f1662c9eeb Add missing #includes. 2023-10-26 20:15:07 +11:00
Christopher Kohlhoff
57a8c85f6d Remove deprecated handler allocation hooks. 2023-10-26 00:44:01 +11:00
Christopher Kohlhoff
944758cdaf Remove deprecated handler invocation hook. 2023-10-26 00:44:00 +11:00
Christopher Kohlhoff
eae55c14d3 Remove deprecated execution functionality. 2023-10-26 00:43:05 +11:00
Christopher Kohlhoff
5c19f29294 Require C++11 as the minimum c++ standard. 2023-10-26 00:43:05 +11:00
Christopher Kohlhoff
916fcb36a8 Version bump. 2023-08-02 23:47:15 +10:00
Christopher Kohlhoff
9009036664 Fix bind_cancellation_slot to not require async_result::return_type. 2023-08-01 22:02:54 +10:00
Christopher Kohlhoff
f042b0b982 Fix bind_allocator to not require async_result::return_type. 2023-08-01 22:02:40 +10:00
Christopher Kohlhoff
01d4306f11 Fix bind_immediate_executor to not require async_result::return_type. 2023-08-01 22:02:25 +10:00
Christopher Kohlhoff
a9ece775d2 Fix basic_yield_context completion handlers for completion signatures with exception_ptr. 2023-08-01 18:46:55 +10:00
Christopher Kohlhoff
beded7e3cb Fix object lifetime issue when cancelling a co_spawn operation. 2023-08-01 18:46:41 +10:00
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
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
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