diff options
author | Loïc Hoguin <[email protected]> | 2018-04-28 10:59:56 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-04-28 11:00:50 +0200 |
commit | 2db5ffbf842e0aeb0ae11484b8c247bbfdcf5e9e (patch) | |
tree | 8886eb09fc08c85c492deacea01686487de8c0bd /doc/src/manual/cowboy_http2.asciidoc | |
parent | add71bfb7e1191cb1af0fea19f5df0fde786a494 (diff) | |
download | cowboy-2db5ffbf842e0aeb0ae11484b8c247bbfdcf5e9e.tar.gz cowboy-2db5ffbf842e0aeb0ae11484b8c247bbfdcf5e9e.tar.bz2 cowboy-2db5ffbf842e0aeb0ae11484b8c247bbfdcf5e9e.zip |
Add SETTINGS ack timeout and option settings_timeout
Diffstat (limited to 'doc/src/manual/cowboy_http2.asciidoc')
-rw-r--r-- | doc/src/manual/cowboy_http2.asciidoc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/src/manual/cowboy_http2.asciidoc b/doc/src/manual/cowboy_http2.asciidoc index 47aa012..cd8ca68 100644 --- a/doc/src/manual/cowboy_http2.asciidoc +++ b/doc/src/manual/cowboy_http2.asciidoc @@ -30,6 +30,7 @@ opts() :: #{ max_frame_size_sent => 16384..16777215 | infinity, middlewares => [module()], preface_timeout => timeout(), + settings_timeout => timeout(), shutdown_timeout => timeout(), stream_handlers => [module()] } @@ -105,6 +106,9 @@ middlewares ([cowboy_router, cowboy_handler]):: preface_timeout (5000):: Time in ms Cowboy is willing to wait for the connection preface. +settings_timeout (5000):: + Time in ms Cowboy is willing to wait for a SETTINGS ack. + shutdown_timeout (5000):: Time in ms Cowboy will wait for child processes to shut down before killing them. @@ -116,8 +120,9 @@ stream_handlers ([cowboy_stream_h]):: * *2.4*: Add the options `initial_connection_window_size`, `initial_stream_window_size`, `max_concurrent_streams`, `max_decode_table_size`, `max_encode_table_size`, - `max_frame_size_received` and `max_frame_size_sent` - to configure HTTP/2 SETTINGS. + `max_frame_size_received`, `max_frame_size_sent` + and `settings_timeout` to configure HTTP/2 SETTINGS + and related behavior. * *2.4*: Add the experimental option `enable_connect_protocol`. * *2.0*: Protocol introduced. |