diff 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. |