Skip to content

Refactor asio API usage to no longer use deprecated interfaces - #3313

Open
0x12A01DC wants to merge 2 commits into
beyond-all-reason:masterfrom
0x12A01DC:asio-new-api
Open

Refactor asio API usage to no longer use deprecated interfaces#3313
0x12A01DC wants to merge 2 commits into
beyond-all-reason:masterfrom
0x12A01DC:asio-new-api

Conversation

@0x12A01DC

@0x12A01DC 0x12A01DC commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Migrate from asio::io_service to asio::io_context, adapt new resolver
method signatures and return types, and use asio::mutable_buffer instead of asio::mutable_buffers_1.

This makes the Recoil engine code compatible with the new Networking TS compatible API https://think-async.com/Asio/asio-1.38.2/doc/asio/net_ts.html. With these changes in-place it would be possible to update the asio library to version 1.38.2 from 1.30.2 without further changes to engine code

0x12A01DC and others added 2 commits September 2, 2026 15:17
Migrate from `asio::io_service` to `asio::io_context`, adapt new `resolver`
method signatures and return types, and use `asio::mutable_buffer` `asio::mutable_buffers_1`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants