mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +01:00
SNI support
This commit is contained in:
parent
9da984b866
commit
e699d3d02d
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue