From 41c769ab5c19da92ecba35d9accc4bc123029e8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 23 May 2017 20:47:46 +0200 Subject: Remove the use of bootstrap-carousel The custom.js file was converted to not use jquery also. Once bootstrap is gone, we can remove jquery entirely. --- docs/en/cowboy/2.0/manual/cowboy_http2/index.html | 43 ++++++++++++++++++++--- 1 file changed, 39 insertions(+), 4 deletions(-) (limited to 'docs/en/cowboy/2.0/manual/cowboy_http2/index.html') diff --git a/docs/en/cowboy/2.0/manual/cowboy_http2/index.html b/docs/en/cowboy/2.0/manual/cowboy_http2/index.html index 5f29d00b..90f7f0fc 100644 --- a/docs/en/cowboy/2.0/manual/cowboy_http2/index.html +++ b/docs/en/cowboy/2.0/manual/cowboy_http2/index.html @@ -91,9 +91,13 @@ by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite -->
opts() :: #{
-    env             := cowboy_middleware:env(),
-    middlewares     := [module()],
-    preface_timeout := timeout()
+    connection_type    => worker | supervisor,
+    env                => cowboy_middleware:env(),
+    inactivity_timeout => timeout(),
+    middlewares        => [module()],
+    preface_timeout    => timeout(),
+    shutdown_timeout   => timeout(),
+    stream_handlers    => [module()]
 }

Configuration for the HTTP/2 protocol.

This configuration is passed to Cowboy when starting listeners @@ -104,6 +108,14 @@ Ranch functions ranch:get_protocol_options/1 and

The default value is given next to the option name:

+connection_type (supervisor) +
+
+

+ Whether the connection process also acts as a supervisor. +

+
+
env (#{})
@@ -112,6 +124,14 @@ env (#{})

+inactivity_timeout (300000) +
+
+

+ Time in ms with nothing received at all before Cowboy closes the connection. +

+
+
middlewares ([cowboy_router, cowboy_handler])
@@ -127,6 +147,22 @@ preface_timeout (5000) Time in ms Cowboy is willing to wait for the connection preface.

+
+shutdown_timeout (5000) +
+
+

+ Time in ms Cowboy will wait for child processes to shut down before killing them. +

+
+
+stream_handlers ([cowboy_stream_h]) +
+
+

+ Ordered list of stream handlers that will handle all stream events. +

+
@@ -216,7 +252,6 @@ preface_timeout (5000) - -- cgit v1.2.3