asio
asio copied to clipboard
Asio C++ Library
I'm on OpenSSL 1.0.2k (Jan 26, 2017) and Boost.Asio 1.64.0 When the remote host closes an SSL stream I get this error `stream_truncated` is that new? How do I properly...
In [ /overview/composition/coro.html](https://think-async.com/Asio/boost_asio_1_28_0/doc/html/boost_asio/overview/composition/coro.html), the part dealing with coroutines returning values, has the `coro c(...)` function expecting `sum` execution steps to yield 0, 0, 10, 25; but for me it yields...
Windows traditionally uses a timer resolution of roughly 15.6 ms. This means that all timing-related functionality, such as waitable timers (that asio uses internally to implement all types of timers)...
I would like to bring the subject of ticket #1328 about Asio async high-resolution waitable timers support back under the attention but in a more cross platform context, since Asio...
In order to use the same asio source code for multiple dynamic libraries, ASIO_DYN_LINK and ASIO_NO_TYPEID are defined, and a crash occurs after use. After analyzing the code, we found...
I am looking to add SSL/TLS to our ASIO code and the obvious first choice is to use asio::ssl::stream. However I noticed that ssl::stream and tcp::socket share no common base....
```c++ #include #include using completion_signature = void(std::error_code); using progress_signature = void(int) &; struct completion_handler { void operator()(std::error_code&&) &&; void operator()(int&&) &; }; template decltype(auto) async_operation(CompletionToken&& token) { return boost::asio::async_initiate< CompletionToken,...
### Environment Info This is happening with Asio V1.29.0 (non-Boost) on Windows 10. I have also tried using the code from master and it still causes the crash. I compile...
downstream: https://github.com/boostorg/asio/pull/407 The compiler-generated copy constructor and copy assignment operator are deprecated since C++11 on classes with user-declared destructors. This change allows clean compilation with the -Wdeprecated-copy-dtor/-Wdeprecated-copy-with-user-provided-dtor flag. cf. https://github.com/chriskohlhoff/asio/issues/792#issuecomment-1565179044