fix: receive bttv live updates again (#6132)

This commit is contained in:
iProdigy
2025-04-06 04:58:09 -05:00
committed by GitHub
parent 3481c93365
commit d8ef52a308
7 changed files with 18 additions and 15 deletions
@@ -336,13 +336,14 @@ private:
WebsocketContextPtr onTLSInit(const websocketpp::connection_hdl & /*hdl*/)
{
WebsocketContextPtr ctx(
new boost::asio::ssl::context(boost::asio::ssl::context::tlsv12));
WebsocketContextPtr ctx(new boost::asio::ssl::context(
boost::asio::ssl::context::tls_client));
try
{
ctx->set_options(boost::asio::ssl::context::default_workarounds |
boost::asio::ssl::context::no_sslv2 |
boost::asio::ssl::context::no_tlsv1 |
boost::asio::ssl::context::no_tlsv1_1 |
boost::asio::ssl::context::single_dh_use);
}
catch (const std::exception &e)