aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-11-14 17:10:26 +0100
committerLoïc Hoguin <[email protected]>2018-11-14 18:04:32 +0100
commit6f57405b5c775c4b3b60d0fde15c89e52cb91708 (patch)
tree75173c6aea32ddfed7fe756c49f0a20c1a1248bb /doc
parentf0cae8dbcf8d07035be069860fc4b22f7577d154 (diff)
downloadcowboy-6f57405b5c775c4b3b60d0fde15c89e52cb91708.tar.gz
cowboy-6f57405b5c775c4b3b60d0fde15c89e52cb91708.tar.bz2
cowboy-6f57405b5c775c4b3b60d0fde15c89e52cb91708.zip
Allow disabling keep-alive for HTTP/1.0 connections
Diffstat (limited to 'doc')
-rw-r--r--doc/src/manual/cowboy_http.asciidoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/src/manual/cowboy_http.asciidoc b/doc/src/manual/cowboy_http.asciidoc
index e4706af..e735b9a 100644
--- a/doc/src/manual/cowboy_http.asciidoc
+++ b/doc/src/manual/cowboy_http.asciidoc
@@ -19,6 +19,7 @@ as a Ranch protocol.
opts() :: #{
connection_type => worker | supervisor,
env => cowboy_middleware:env(),
+ http10_keepalive => boolean(),
idle_timeout => timeout(),
inactivity_timeout => timeout(),
linger_timeout => timeout(),
@@ -58,6 +59,10 @@ env (#{})::
Middleware environment.
+http10_keepalive (true)::
+
+Whether keep-alive is enabled for HTTP/1.0 connections.
+
idle_timeout (60000)::
Time in ms with no data received before Cowboy closes the connection.