aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide/connect.asciidoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-04-26 15:17:19 +0200
committerLoïc Hoguin <[email protected]>2019-04-26 15:17:19 +0200
commit719e45ec354e2b5c155aa5ffef3b5cfcf3a5d484 (patch)
treeef130e206f88c70ce14f2d50e4e2e42e0b0e5d83 /doc/src/guide/connect.asciidoc
parenteb74e3d30ca9fa47268d3a235f928341fb807423 (diff)
downloadgun-719e45ec354e2b5c155aa5ffef3b5cfcf3a5d484.tar.gz
gun-719e45ec354e2b5c155aa5ffef3b5cfcf3a5d484.tar.bz2
gun-719e45ec354e2b5c155aa5ffef3b5cfcf3a5d484.zip
Document ssl's session_lifetime/session_cache_clients_max
Diffstat (limited to 'doc/src/guide/connect.asciidoc')
-rw-r--r--doc/src/guide/connect.asciidoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/src/guide/connect.asciidoc b/doc/src/guide/connect.asciidoc
index dd4297d..a2c0a28 100644
--- a/doc/src/guide/connect.asciidoc
+++ b/doc/src/guide/connect.asciidoc
@@ -55,6 +55,12 @@ form of a map.
{ok, ConnPid} = gun:open("example.org", 8443, #{transport => tls}).
----
+When using TLS you may want to tweak the
+http://erlang.org/doc/man/ssl_app.html#configuration[configuration]
+for the `ssl` application, in particular the `session_lifetime`
+and `session_cache_client_max` to limit the amount of memory
+used for the TLS sessions cache.
+
=== Waiting for the connection to be established
When Gun successfully connects to the server, it sends a