aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-04-25 21:32:58 +0200
committerLoïc Hoguin <[email protected]>2018-04-25 21:32:58 +0200
commit7373822b8645f34c03a7bf522ea170c62817d8e8 (patch)
tree386c2805a19eb0f8561e94614a668ff3c736fb75 /doc
parent8bd55941aa362632a6e9d8bdca6789cc21ba7e8a (diff)
downloadcowboy-7373822b8645f34c03a7bf522ea170c62817d8e8.tar.gz
cowboy-7373822b8645f34c03a7bf522ea170c62817d8e8.tar.bz2
cowboy-7373822b8645f34c03a7bf522ea170c62817d8e8.zip
Add the max_concurrent_streams h2 option
Diffstat (limited to 'doc')
-rw-r--r--doc/src/manual/cowboy_http2.asciidoc8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/src/manual/cowboy_http2.asciidoc b/doc/src/manual/cowboy_http2.asciidoc
index 5ce809a..4c47fea 100644
--- a/doc/src/manual/cowboy_http2.asciidoc
+++ b/doc/src/manual/cowboy_http2.asciidoc
@@ -21,6 +21,7 @@ opts() :: #{
enable_connect_protocol => boolean(),
env => cowboy_middleware:env(),
inactivity_timeout => timeout(),
+ max_concurrent_streams => non_neg_integer() | infinity,
max_decode_table_size => non_neg_integer(),
max_encode_table_size => non_neg_integer(),
middlewares => [module()],
@@ -55,6 +56,9 @@ env (#{})::
inactivity_timeout (300000)::
Time in ms with nothing received at all before Cowboy closes the connection.
+max_concurrent_streams (infinity)::
+ Maximum number of concurrent streams allowed on the connection.
+
max_decode_table_size (4096)::
Maximum header table size used by the decoder. This is the value advertised
to the client. The client can then choose a header table size equal or lower
@@ -79,7 +83,9 @@ stream_handlers ([cowboy_stream_h])::
== Changelog
-* *2.4*: Add the options `max_decode_table_size` and `max_encode_table_size`.
+* *2.4*: Add the options `max_concurrent_streams`,
+ `max_decode_table_size` and `max_encode_table_size`
+ to configure HTTP/2 SETTINGS.
* *2.4*: Add the experimental option `enable_connect_protocol`.
* *2.0*: Protocol introduced.