summaryrefslogtreecommitdiffstats
path: root/docs/en/ranch/2.1/guide/migrating_from_2.0/index.html
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2023-01-16 16:49:08 +0100
committerLoïc Hoguin <[email protected]>2023-01-16 16:49:08 +0100
commitd73aae065ac85cd7de71b815c1c8f28df6391828 (patch)
tree92b7240ff230f87cea5db9ab70a8e727875012a4 /docs/en/ranch/2.1/guide/migrating_from_2.0/index.html
parent992831c7a516b5183c2af06260829d41aa45267c (diff)
downloadninenines.eu-d73aae065ac85cd7de71b815c1c8f28df6391828.tar.gz
ninenines.eu-d73aae065ac85cd7de71b815c1c8f28df6391828.tar.bz2
ninenines.eu-d73aae065ac85cd7de71b815c1c8f28df6391828.zip
Cowlib 2.12
Also future-proof some templates. Unfortunately still have to use a very old Hugo version to build as there's bugs preventing proper asciidoc use otherwise (.asciidoc files do not get rendered properly).
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.html5
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 &lt; 1.3.
</li>