[erlang-patches] SSL Server Name Indication (SNI) client support

Julien Barbot <>
Thu Oct 31 15:00:25 CET 2013


Hi,

Here is a new attempt to implement SNI (RFC 6066, section 3). This is
*only* the client side implementation.

The server implementation will come later.

There is no API modification, SNI is used if the connection endpoint
is a hostname.

Comments are welcome.

git fetch git://github.com/klyr/otp.git r17_ssl_sni_client

https://github.com/klyr/otp/compare/master...r17_ssl_sni_client
https://github.com/klyr/otp/compare/master...r17_ssl_sni_client.patch

Pending questions are:
- how to do an ssl upgrade with sni ?
- is an aditional option to ssl:connect needed to explicitly choose an
ssl virtual host (like {virtual_host, string()}) ?
- is an aditional option to ssl:connect needed to explicitly disable sni ?

Regards,

-- 
Julien Barbot


More information about the erlang-patches mailing list