summaryrefslogtreecommitdiffstats
path: root/docs/en/gun/2.1/guide/migrating_from_2.0.asciidoc
blob: cfd64a8dab72a5e997162b994c8a2e385795d303 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[appendix]
== Migrating from Gun 2.0 to 2.1

Gun 2.1 contains a small security improvement for
the HTTP/2 protocol, as well as includes a small
number of fixes and improvements.

Gun 2.1 requires Erlang/OTP 22.0 or greater.

=== Features added

* A new HTTP/2 option `max_fragmented_header_block_size` has
  been added to limit the size of header blocks that are
  sent over multiple HEADERS and CONTINUATION frames.

* Update Cowlib to 2.13.0.

=== Bugs fixed

* Gun will no longer configure the NPN TLS extension,
  which has long been replaced by ALPN. NPN is not
  compatible with TLS 1.3.

* Gun will no longer crash when TLS connections close
  very early in the connection's life time.