From 5a7cfb2d571d95829848cfa6e20066d19c9a4800 Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin Date: Wed, 6 Mar 2019 12:54:03 +0100 Subject: ssl: Fix transport transparancy --- lib/ssl/doc/src/ssl.xml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'lib/ssl/doc') diff --git a/lib/ssl/doc/src/ssl.xml b/lib/ssl/doc/src/ssl.xml index 90a9181ede..24d063e1bd 100644 --- a/lib/ssl/doc/src/ssl.xml +++ b/lib/ssl/doc/src/ssl.xml @@ -101,16 +101,21 @@ -

Defaults to {gen_tcp, tcp, tcp_closed, tcp_error} - for TLS and {gen_udp, udp, udp_closed, udp_error} for - DTLS. Can be used to customize the transport layer. The tag - values should be the values used by the underlying transport - in its active mode messages. For TLS the callback module must implement a - reliable transport protocol, behave as gen_tcp, and have functions - corresponding to inet:setopts/2, inet:getopts/2, - inet:peername/1, inet:sockname/1, and inet:port/1. - The callback gen_tcp is treated specially and calls inet - directly. For DTLS this feature must be considered exprimental. +

Defaults to {gen_tcp, tcp, tcp_closed, tcp_error, + tcp_passive} for TLS (for backward compatibility a four + tuple will be converted to a five tuple with the last element + "second_element"_passive) and {gen_udp, udp, udp_closed, + udp_error} for DTLS (might also be changed to five tuple in + the future). Can be used to customize the transport layer. The + tag values should be the values used by the underlying + transport in its active mode messages. For TLS the callback + module must implement a reliable transport protocol, behave as + gen_tcp, and have functions corresponding to + inet:setopts/2, inet:getopts/2, + inet:peername/1, inet:sockname/1, and + inet:port/1. The callback gen_tcp is treated + specially and calls inet directly. For DTLS this + feature must be considered exprimental.

-- cgit v1.2.3