diff options
Diffstat (limited to 'docs/en/ranch/2.1/guide/migrating_from_2.0/index.html')
-rw-r--r-- | docs/en/ranch/2.1/guide/migrating_from_2.0/index.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/en/ranch/2.1/guide/migrating_from_2.0/index.html b/docs/en/ranch/2.1/guide/migrating_from_2.0/index.html index 2e17a487..bb75c367 100644 --- a/docs/en/ranch/2.1/guide/migrating_from_2.0/index.html +++ b/docs/en/ranch/2.1/guide/migrating_from_2.0/index.html @@ -17,8 +17,7 @@ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png"> <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png"> - -</head> + </head> <body class=""> @@ -70,7 +69,7 @@ </li> <li>Alarms can now be configured. The only alarm currently available is <code>num_connections</code>. When the number of connections goes over a configurable treshold Ranch will call the given callback. This can be used to programmatically shut down idle connections to make up space for new connections, for example. </li> -<li>A <code>post_listen</code> callback option has been added. It receives sockets immediately after the <code>Transport:listen/1</code> call. It can be used for some additional initialization of the socket, such as setting file permissions on Unix domain sockets. +<li>A <code>post_listen_callback</code> option has been added. It receives sockets immediately after the <code>Transport:listen/1</code> call. It can be used for some additional initialization of the socket, such as setting file permissions on Unix domain sockets. </li> <li>It is now possible to use TLS-PSK authentication without having to specify a default certificate for TLS < 1.3. </li> |