aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjuhlig <[email protected]>2019-07-17 13:46:47 +0200
committerLoïc Hoguin <[email protected]>2019-07-17 14:21:38 +0200
commitdb3bd0133ed23f225d62c9a7eeac944ad1a312b1 (patch)
treeacca96692836a1e44cefebee1d57f0aa6d8b3b81 /doc
parentda71dd49d67ebbc8d82552cb9988f9dfd0fb9cf2 (diff)
downloadranch-db3bd0133ed23f225d62c9a7eeac944ad1a312b1.tar.gz
ranch-db3bd0133ed23f225d62c9a7eeac944ad1a312b1.tar.bz2
ranch-db3bd0133ed23f225d62c9a7eeac944ad1a312b1.zip
Fix documentation for set_transport_options
Diffstat (limited to 'doc')
-rw-r--r--doc/src/guide/listeners.asciidoc14
-rw-r--r--doc/src/manual/ranch.set_transport_options.asciidoc1
2 files changed, 1 insertions, 14 deletions
diff --git a/doc/src/guide/listeners.asciidoc b/doc/src/guide/listeners.asciidoc
index df94896..fd988f1 100644
--- a/doc/src/guide/listeners.asciidoc
+++ b/doc/src/guide/listeners.asciidoc
@@ -362,20 +362,6 @@ Ranch allows you to change the transport options of a listener with
the `ranch:set_transport_options/2` function, for example to change the
number of acceptors or to make it listen on a different port.
-Changes to the following options will take effect...
-
-* immediately:
-** `max_connections`
-** `handshake_timeout`
-** `shutdown`
-* only after the listener has been suspended and resumed:
-** `num_acceptors`
-** `num_listen_sockets`
-** `socket_opts`
-* only when the entire listener is restarted:
-** `num_conns_sups`
-** `logger`
-
.Changing the transport options
[source,erlang]
diff --git a/doc/src/manual/ranch.set_transport_options.asciidoc b/doc/src/manual/ranch.set_transport_options.asciidoc
index 6c349ca..146f21e 100644
--- a/doc/src/manual/ranch.set_transport_options.asciidoc
+++ b/doc/src/manual/ranch.set_transport_options.asciidoc
@@ -26,6 +26,7 @@ Changes to the following options will take effect...
** `num_listen_sockets`
** `socket_opts`
* only when the entire listener is restarted:
+** `connection_type`
** `num_conns_sups`
** `logger`