diff options
author | juhlig <[email protected]> | 2019-09-17 17:55:25 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-10-14 12:38:29 +0200 |
commit | d44e7a16f7d2823cc658e39b5d953ba0850e47ba (patch) | |
tree | 72ddf6100e12fa7424067262ee31b1f99ce05fff /doc/src/manual/ranch_ssl.asciidoc | |
parent | 1db8290685e9cff3dfafde62de6148246075990a (diff) | |
download | ranch-d44e7a16f7d2823cc658e39b5d953ba0850e47ba.tar.gz ranch-d44e7a16f7d2823cc658e39b5d953ba0850e47ba.tar.bz2 ranch-d44e7a16f7d2823cc658e39b5d953ba0850e47ba.zip |
Enable multiple steps handshake
Also fix some Protocol:start_link/4 into start_link/3
left over in the documentation.
Diffstat (limited to 'doc/src/manual/ranch_ssl.asciidoc')
-rw-r--r-- | doc/src/manual/ranch_ssl.asciidoc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/src/manual/ranch_ssl.asciidoc b/doc/src/manual/ranch_ssl.asciidoc index 00f6fad..66f91b1 100644 --- a/doc/src/manual/ranch_ssl.asciidoc +++ b/doc/src/manual/ranch_ssl.asciidoc @@ -54,6 +54,7 @@ ssl_opt() = {alpn_preferred_protocols, [binary()]} | {dhfile, file:filename()} | {eccs, [atom()]} | {fail_if_no_peer_cert, boolean()} + | {handshake, hello | full} | {hibernate_after, timeout()} | {honor_cipher_order, boolean()} | {honor_ecc_order, boolean()} @@ -156,6 +157,15 @@ fail_if_no_peer_cert (false):: Whether to refuse the connection if the client sends an empty certificate. +handshake (full):: + +If `hello` is specified for this option, the handshake is +paused after receiving the client hello message. The handshake +can then be resumed via `handshake_continue/3`, or cancelled +via `handshake_cancel/1`. ++ +This option cannot be given to `ranch:handshake/1,2`. + hibernate_after (undefined):: Time in ms after which SSL socket processes go into |