diff options
author | juhlig <[email protected]> | 2019-05-27 15:20:37 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-05-27 16:03:29 +0200 |
commit | 30604262b5934b38e9f55f0d3ef44f8aed5310de (patch) | |
tree | 5a88a20152197921b266769684c17651afc44882 /doc/src/guide/upcoming_2.0_changes.asciidoc | |
parent | ad82f58139ca88b7e82dcb6bd50063c899b685e9 (diff) | |
download | ranch-30604262b5934b38e9f55f0d3ef44f8aed5310de.tar.gz ranch-30604262b5934b38e9f55f0d3ef44f8aed5310de.tar.bz2 ranch-30604262b5934b38e9f55f0d3ef44f8aed5310de.zip |
Use transport options in ranch_transport:listen/1 callbacks
The callback `ranch_transport:listen/1` has changed to accept a map
of transport options instead of socket options.
Diffstat (limited to 'doc/src/guide/upcoming_2.0_changes.asciidoc')
-rw-r--r-- | doc/src/guide/upcoming_2.0_changes.asciidoc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/src/guide/upcoming_2.0_changes.asciidoc b/doc/src/guide/upcoming_2.0_changes.asciidoc index d743090..378d0a6 100644 --- a/doc/src/guide/upcoming_2.0_changes.asciidoc +++ b/doc/src/guide/upcoming_2.0_changes.asciidoc @@ -5,6 +5,11 @@ The following changes will be done in Ranch 2.0. In most cases an alternative is already available in the most recent Ranch version. +* The callback function `ranch_transport:listen/1` and its + implementations in `ranch_tcp` and `ranch_ssl` have changed + to accept a map of transport options instead of socket + options. + * The function `ranch:start_listener/6` has been deprecated in favor of `ranch:start_listener/5`. The number of acceptors was removed and will be taken from the transport options. |