We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 168ce9d commit 6b9f5fbCopy full SHA for 6b9f5fb
src/internal/sio_client_impl.cpp
@@ -577,10 +577,9 @@ namespace sio
577
#if SIO_TLS
578
client_impl::context_ptr client_impl::on_tls_init(connection_hdl conn)
579
{
580
- context_ptr ctx = context_ptr(new asio::ssl::context(asio::ssl::context::tlsv1));
+ context_ptr ctx = context_ptr(new asio::ssl::context(asio::ssl::context::tlsv12));
581
asio::error_code ec;
582
ctx->set_options(asio::ssl::context::default_workarounds |
583
- asio::ssl::context::no_sslv2 |
584
asio::ssl::context::single_dh_use,ec);
585
if(ec)
586
0 commit comments