Browse Source

SNI support

pull/750/head
orignal 8 years ago
parent
commit
e699d3d02d
  1. 1
      Reseed.cpp

1
Reseed.cpp

@ -444,6 +444,7 @@ namespace data @@ -444,6 +444,7 @@ namespace data
s.lowest_layer().connect (*it, ecode);
if (!ecode)
{
SSL_set_tlsext_host_name(s.native_handle(), url.host.c_str ());
s.handshake (boost::asio::ssl::stream_base::client, ecode);
if (!ecode)
{

Loading…
Cancel
Save