aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-11-16 16:30:57 +0100
committerLoïc Hoguin <[email protected]>2018-11-16 16:30:57 +0100
commit8185d356c596e3dda9c87786516c6e924a56617a (patch)
treeb8dfb489729cdecca935f443eddaa5b3e31faa9f /doc/src/manual
parentf5015cb14bbadef95285460f3d842fbbb05c33c3 (diff)
downloadcowboy-8185d356c596e3dda9c87786516c6e924a56617a.tar.gz
cowboy-8185d356c596e3dda9c87786516c6e924a56617a.tar.bz2
cowboy-8185d356c596e3dda9c87786516c6e924a56617a.zip
Add the idle_timeout option to HTTP/2
Diffstat (limited to 'doc/src/manual')
-rw-r--r--doc/src/manual/cowboy_http2.asciidoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/src/manual/cowboy_http2.asciidoc b/doc/src/manual/cowboy_http2.asciidoc
index 8a79846..2b33a71 100644
--- a/doc/src/manual/cowboy_http2.asciidoc
+++ b/doc/src/manual/cowboy_http2.asciidoc
@@ -20,6 +20,7 @@ opts() :: #{
connection_type => worker | supervisor,
enable_connect_protocol => boolean(),
env => cowboy_middleware:env(),
+ idle_timeout => timeout(),
inactivity_timeout => timeout(),
initial_connection_window_size => 65535..16#7fffffff,
initial_stream_window_size => 0..16#7fffffff,
@@ -63,6 +64,10 @@ env (#{})::
Middleware environment.
+idle_timeout (60000)::
+
+Time in ms with no data received before Cowboy closes the connection.
+
inactivity_timeout (300000)::
Time in ms with nothing received at all before Cowboy closes the connection.