diff options
author | Julien Barbot <julien@barbot.org> | 2013-11-03 21:30:03 +0100 |
---|---|---|
committer | Fredrik Gustafsson <fredrik@erlang.org> | 2013-11-06 11:13:59 +0100 |
commit | d370fe05f5884691a89784aa73bfb4eb2176edab (patch) | |
tree | e7f1fcff06fa24a17a904159def346506765822e /lib/ssl/doc/src/ssl.xml | |
parent | bc8b6bf58c96f8d5a07146ddea145f71fe8c8956 (diff) | |
download | erlang-d370fe05f5884691a89784aa73bfb4eb2176edab.tar.gz |
Add a new server_name_indication option to ssl:connect
- Set to disable to explicitly disable SNI support.
- Set to a hostname when upgrading from TCP to TLS.
Diffstat (limited to 'lib/ssl/doc/src/ssl.xml')
-rw-r--r-- | lib/ssl/doc/src/ssl.xml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/ssl/doc/src/ssl.xml b/lib/ssl/doc/src/ssl.xml index aac04095b4..b4182e6d61 100644 --- a/lib/ssl/doc/src/ssl.xml +++ b/lib/ssl/doc/src/ssl.xml @@ -89,7 +89,7 @@ {ssl_imp, ssl_imp()} | {reuse_sessions, boolean()} | {reuse_session, fun()} {next_protocols_advertised, [binary()]} | {client_preferred_next_protocols, {client | server, [binary()]} | {client | server, [binary()], binary()}} | - {log_alert, boolean()} + {log_alert, boolean()} | {server_name_indication, hostname() | disable} </c></p> <p><c>transportoption() = {cb_info, {CallbackModule::atom(), DataTag::atom(), ClosedTag::atom(), ErrTag:atom()}} @@ -384,6 +384,14 @@ fun(srp, Username :: string(), UserState :: term()) -> <tag>{srp_identity, {Username :: string(), Password :: string()}</tag> <item>Specifies the Username and Password to use to authenticate to the server. </item> + <tag>{server_name_indication, hostname()}</tag> + <tag>{server_name_indication, disable}</tag> + <item> + <p>This option can be specified when upgrading a tcp socket to a tls + socket to use the TLS Server Name Indication extension.</p> + <p>This option can also be set to disable to explicitly disable usage of + the Server Name Indication extension.</p> + </item> </taglist> </section> |