jbaldwin / libcoro

C++20 coroutine library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use std::shared_ptr for coro::ssl_context pointers

jbaldwin opened this issue · comments

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.