mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
This works around the limitation that 1.56 boost::asio::ssl::stream objects do not support r-value move or construction. It is required when the stream does not own the socket.
beast::asio
Wrappers and utilities to make working with boost::asio easier.
Rules for asynchronous objects
If an object calls asynchronous initiating functions it must either:
1. Manage its lifetime by being reference counted
or
2. Wait for all pending completion handlers to be called before
allowing itself to be destroyed.