Debian Codegraph @

doc/src/guide/migrating_from_2.14.asciidoc

raw
1 [appendix]
2 == Migrating from Cowboy 2.14 to 2.15
3
4 Cowboy 2.15 fixes a number of security vulnerabilities.
5 It also has a few new options for HTTP/1.1.
6
7 Cowboy 2.15 updates Cowlib to 2.16.1. Both applications
8 must be updated as they both contain security fixes.
9
10 Cowboy 2.15 requires Erlang/OTP 24.0 or greater.
11
12 === Features added
13
14 * The `max_authorization_header_value_length` and
15 `max_cookie_header_value_length` options were added
16 to HTTP/1.1. They allow more fine-grained control
17 over header value lengths.
18
19 === Bugs fixed
20
21 * A number of security vulnerabilities have been fixed,
22 including a possible denial of service in the HTTP/1.1
23 parser.
24
25 * Update Cowlib to 2.16.1.
26
27 * HTTP/2 Websocket did not call `terminate/3` on abrupt
28 socket close (without a close frame being sent first).
29 This is now fixed. Do note however that the Websocket
30 session process must trap exits to call `terminate/3`.
31 This was fixed since Cowboy 2.14.1.