aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-05-08 18:02:15 +0200
committerLoïc Hoguin <[email protected]>2019-05-08 18:02:15 +0200
commitc9d23b9932dc0a9df99d96b6ff2f309a684f8ea3 (patch)
treed729edf28d7bf7fd617f13b806835d76dc24f98f /doc
parentd59eef5c737d0b08eb8c16c5316300e863bc935c (diff)
downloadranch-c9d23b9932dc0a9df99d96b6ff2f309a684f8ea3.tar.gz
ranch-c9d23b9932dc0a9df99d96b6ff2f309a684f8ea3.tar.bz2
ranch-c9d23b9932dc0a9df99d96b6ff2f309a684f8ea3.zip
Remove a paragraph about the old socket option
Diffstat (limited to 'doc')
-rw-r--r--doc/src/guide/listeners.asciidoc7
1 files changed, 0 insertions, 7 deletions
diff --git a/doc/src/guide/listeners.asciidoc b/doc/src/guide/listeners.asciidoc
index e7ecfec..24fb455 100644
--- a/doc/src/guide/listeners.asciidoc
+++ b/doc/src/guide/listeners.asciidoc
@@ -172,13 +172,6 @@ The custom `listen/1` function must ensure that the listener process
of the socket it returns. Failing to do so will result in stop/start
and suspend/resume not working properly for that listener.
-While it might be tempting to pass in an existing socket to your
-custom transport by way of the transport options, thereby mimicking
-a deprecated ranch behavior, this is considered dangerous and was removed
-for that very reason. In general, it should be ensured that the socket
-to be returned from a custom `listen/1` function really is a listening
-socket and that it is operational.
-
=== Limiting the number of concurrent connections
The `max_connections` transport option allows you to limit the number