diff options
author | Loïc Hoguin <[email protected]> | 2019-10-15 11:07:08 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-10-15 11:07:08 +0200 |
commit | d92a10b19b8fb203a75b7e4065106573d30546d0 (patch) | |
tree | e455207ee36b71b1b4d8491cf72d95b2b6a23a1b /doc/src | |
parent | 5c530ba58d142507f4c454bdfba00392d02af3ee (diff) | |
download | ranch-2.0.0-rc.2.tar.gz ranch-2.0.0-rc.2.tar.bz2 ranch-2.0.0-rc.2.zip |
Ranch 2.0.0-rc.22.0.0-rc.2
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/guide/migrating_from_1.7.asciidoc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/src/guide/migrating_from_1.7.asciidoc b/doc/src/guide/migrating_from_1.7.asciidoc index f63c346..92470aa 100644 --- a/doc/src/guide/migrating_from_1.7.asciidoc +++ b/doc/src/guide/migrating_from_1.7.asciidoc @@ -42,6 +42,11 @@ for Erlang/OTP 19 and 20 has been removed. is now to just start Ranch normally when using embedded listeners. +* Two steps handshake is now supported. This allows + obtaining TLS extensions and updating options before + resuming the handshake. The handshake can also be + canceled. + === Experimental features added * The experimental `num_listen_sockets` option has been @@ -71,6 +76,13 @@ for Erlang/OTP 19 and 20 has been removed. * The `Socket` argument was removed from `Protocol:start_link/3`. The socket must now be obtained by calling `ranch:handshake/1,2`. +=== Added functions + +* The functions `ranch:handshake_continue/1,2` and + `ranch:handshake_cancel/1` can be used to perform + a two steps handshake. These functions may not be + supported by all transports. + === Changed functions * The `NumAcceptors` argument was removed from `ranch:start_listener/5` @@ -101,6 +113,9 @@ for Erlang/OTP 19 and 20 has been removed. === Bugs fixed +* Calling `ranch:remove_connection/1` will now resume a sleeping + acceptor process when applicable. + * Repeatedly calling `ranch:remove_connection/1` from a connection process would crash the respective connection supervisor. This has now been fixed. |