asio icon indicating copy to clipboard operation
asio copied to clipboard

asio::ssl::context thread safety

Open cppkeyboardman opened this issue 3 years ago • 0 comments

I am developing a multithreaded program, each thread has an io_context. Now I want to support OpenSSL. I've read the code, and it seems safe to use a single asio::ssl::context to construct different asio::ssl::streams in multiple threads. I'm not sure if my thought is correct, as the documentation seems doesn't mention anything about it.

cppkeyboardman avatar Mar 30 '22 03:03 cppkeyboardman