diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/guide/getting_started.asciidoc | 2 | ||||
-rw-r--r-- | doc/src/guide/migrating_from_2.14.asciidoc | 13 | ||||
-rw-r--r-- | doc/src/manual/cowboy_http.asciidoc | 12 |
3 files changed, 26 insertions, 1 deletions
diff --git a/doc/src/guide/getting_started.asciidoc b/doc/src/guide/getting_started.asciidoc index eccb38f..fada2e3 100644 --- a/doc/src/guide/getting_started.asciidoc +++ b/doc/src/guide/getting_started.asciidoc @@ -69,7 +69,7 @@ fetch and compile Cowboy, and that we will use releases: PROJECT = hello_erlang DEPS = cowboy -dep_cowboy_commit = 2.14.1 +dep_cowboy_commit = 2.14.2 REL_DEPS = relx diff --git a/doc/src/guide/migrating_from_2.14.asciidoc b/doc/src/guide/migrating_from_2.14.asciidoc index befa821..67ed0f1 100644 --- a/doc/src/guide/migrating_from_2.14.asciidoc +++ b/doc/src/guide/migrating_from_2.14.asciidoc @@ -3,6 +3,19 @@ The following patch versions were released since Cowboy 2.14: +=== Cowboy 2.14.2 + +Cowboy compiled without `COWBOY_QUICER` set would +have a number of Dialyzer errors. Now in that +scenario the HTTP/3 code is fully behind ifdefs +and Dialyzer no longer complains. + +Now when `COWBOY_QUICER` isn't set: + + * `cowboy:start_quic/3` is no longer defined. + * `cowboy_http3` compiles to an empty module. + * `cowboy_quicer` compiles to an empty module. + === Cowboy 2.14.1 HTTP/2 Websocket did not call `terminate/3` on abrupt diff --git a/doc/src/manual/cowboy_http.asciidoc b/doc/src/manual/cowboy_http.asciidoc index 96a5585..daa48a5 100644 --- a/doc/src/manual/cowboy_http.asciidoc +++ b/doc/src/manual/cowboy_http.asciidoc @@ -29,6 +29,8 @@ opts() :: #{ initial_stream_flow_size => non_neg_integer(), linger_timeout => timeout(), logger => module(), + max_authorization_header_value_length => non_neg_integer(), + max_cookie_header_value_length => non_neg_integer(), max_empty_lines => non_neg_integer(), max_header_name_length => non_neg_integer(), max_header_value_length => non_neg_integer(), @@ -131,6 +133,16 @@ logger (error_logger):: The module that will be used to write log messages. +max_authorization_header_value_length:: + +Maximum length of the `authorization` header value. +Defaults to the value of the option `max_header_value_length`. + +max_cookie_header_value_length:: + +Maximum length of the `cookie` header value. +Defaults to the value of the option `max_header_value_length`. + max_empty_lines (5):: Maximum number of empty lines before a request. |