mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 08:14:15 +00:00
SNI support
This commit is contained in:
parent
9da984b866
commit
e699d3d02d
@ -444,6 +444,7 @@ namespace data
|
|||||||
s.lowest_layer().connect (*it, ecode);
|
s.lowest_layer().connect (*it, ecode);
|
||||||
if (!ecode)
|
if (!ecode)
|
||||||
{
|
{
|
||||||
|
SSL_set_tlsext_host_name(s.native_handle(), url.host.c_str ());
|
||||||
s.handshake (boost::asio::ssl::stream_base::client, ecode);
|
s.handshake (boost::asio::ssl::stream_base::client, ecode);
|
||||||
if (!ecode)
|
if (!ecode)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user