jbaldwin / libcoro

C++20 coroutine library
Apache License 2.0
566 stars 57 forks source link

Use std::shared_ptr for coro::ssl_context pointers #204

Closed jbaldwin closed 10 months ago

jbaldwin commented 10 months ago

Currently its quite thread unsafe if the coro::ssl_context were to be used across threads. Just like the coro::io_scheduler for coro::tcp_client was switched to a std::shared_ptr lets switch the coro::ssl_context as well.