asio
asio copied to clipboard
Asio C++ Library
Version: Boost 1.84 Compiler: clang++16, under Ubuntu 22.04, -std=c++20, debug Caught by Boost.MySQL, which has introduced a feature using channels and `any_completion_handler`. Sample program: ``` #define BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT #include #include #include...
Version: Boost 1.84.0 Compiler: clang++16, under Ubuntu 22.04, -std=c++20, debug Test program: ``` #include int main() {} ``` Seems to be missing `#include ` Fails with: ``` [build] In file...
Version: Boost 1.84 Compiler: clang++16, under Ubuntu 22.04, -std=c++20, debug Sample program: ``` #define BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT #include #include #include #include #include namespace asio = boost::asio; asio::awaitable f(asio::steady_timer& tim) { using namespace...
We have a server application (based on 1.82) that hangs randomly after a few hours of running. I have a pool of I/O threads (workers) to handle accept, read &...
It seems wrapping `any_io_executor` in a strand causes the selection of the wrong specialization of `executor_work_guard`. https://godbolt.org/z/o1r8WhTPE ```C++ #include namespace asio = boost::asio; int main() { asio::io_context ioc; asio::any_io_executor exec...
The following code causes GetQueuedCompletionStatus(...) within win_iocp_io_context::shutdown() to deadlock. ```c++ #include #include using namespace std; using namespace boost::asio; class AsioTimer { public: explicit AsioTimer(int value) : m_value(value), m_timer(m_context, 1ms), m_thread(&AsioTimer::run,...
*@Alkenso commented on Sep 23, 2018, 6:23 PM UTC:* Data race while sync connect to socket when io_service is running on another thread. I've found strange data race (reported by...
Howdy. I'm just a dumb sysadmin here, so apologies for the ham-fistedness. I'm working to track down libraries that explicitly require OpenSSL, when they could also use alternatives, like LibreSSL,...
I am working on [asio-grpc](https://github.com/Tradias/asio-grpc) which implements its own Executor type that has a static-constexpr query for `blocking_t` but non-static require. Apparently that causes issues when using `get_associated_immediate_executor`. Example code:...
Forward: asio is a gift to humanity. ## Issue GCC's `-Wmismatched-new-delete` warns on usages of co_composed. Although this may be spurious, it could indicate an intrinsic issue. The warnings can...