diff options
author | Ingela Andin <[email protected]> | 2019-01-15 15:28:44 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-01-15 15:28:44 +0100 |
commit | acc4f00fe4b3c66738aaf3f58951dbf0a96b174c (patch) | |
tree | 80e321fdadc3aed91ec89fc52b1220f8fb814ad0 /lib/ssl/src/ssl_internal.hrl | |
parent | e3a20d907323f5b29a02dad453df0583582ee94e (diff) | |
parent | ba4fb703a5c20ed26186d5ae968020819c1d8780 (diff) | |
download | otp-acc4f00fe4b3c66738aaf3f58951dbf0a96b174c.tar.gz otp-acc4f00fe4b3c66738aaf3f58951dbf0a96b174c.tar.bz2 otp-acc4f00fe4b3c66738aaf3f58951dbf0a96b174c.zip |
Merge pull request #2082 from IngelaAndin/ingela/ssl/save-specific-session/OTP-15369
Ingela/ssl/save specific session/otp 15369
Diffstat (limited to 'lib/ssl/src/ssl_internal.hrl')
-rw-r--r-- | lib/ssl/src/ssl_internal.hrl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_internal.hrl b/lib/ssl/src/ssl_internal.hrl index 63e751440a..91623db79e 100644 --- a/lib/ssl/src/ssl_internal.hrl +++ b/lib/ssl/src/ssl_internal.hrl @@ -111,10 +111,10 @@ %% Local policy for the server if it want's to reuse the session %% or not. Defaluts to allways returning true. %% fun(SessionId, PeerCert, Compression, CipherSuite) -> boolean() - reuse_session, + reuse_session :: fun() | binary() | undefined, %% Server side is a fun() %% If false sessions will never be reused, if true they %% will be reused if possible. - reuse_sessions :: boolean(), + reuse_sessions :: boolean() | save, %% Only client side can use value save renegotiate_at, secure_renegotiate, client_renegotiation, @@ -148,6 +148,8 @@ max_handshake_size :: integer(), handshake, customize_hostname_check + %% , + %% save_session :: boolean() }). -record(socket_options, |