From 6f57405b5c775c4b3b60d0fde15c89e52cb91708 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= <essen@ninenines.eu>
Date: Wed, 14 Nov 2018 17:10:26 +0100
Subject: Allow disabling keep-alive for HTTP/1.0 connections

---
 doc/src/manual/cowboy_http.asciidoc | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'doc/src/manual/cowboy_http.asciidoc')

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.
-- 
cgit v1.2.3

