From db3bd0133ed23f225d62c9a7eeac944ad1a312b1 Mon Sep 17 00:00:00 2001 From: juhlig Date: Wed, 17 Jul 2019 13:46:47 +0200 Subject: Fix documentation for set_transport_options --- doc/src/guide/listeners.asciidoc | 14 -------------- doc/src/manual/ranch.set_transport_options.asciidoc | 1 + 2 files changed, 1 insertion(+), 14 deletions(-) (limited to 'doc') 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` -- cgit v1.2.3