From 5dff085cd14923fb77eda9849accd3d7b9bd8ff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 14 Mar 2024 15:52:00 +0100 Subject: Gun 2.1.0 --- doc/src/guide/migrating_from_2.0.asciidoc | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) (limited to 'doc') diff --git a/doc/src/guide/migrating_from_2.0.asciidoc b/doc/src/guide/migrating_from_2.0.asciidoc index 2f545b9..cfd64a8 100644 --- a/doc/src/guide/migrating_from_2.0.asciidoc +++ b/doc/src/guide/migrating_from_2.0.asciidoc @@ -1,13 +1,25 @@ [appendix] -== Changes since Gun 2.0 +== Migrating from Gun 2.0 to 2.1 -The following patch versions were released since Gun 2.0: +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.0.1 +Gun 2.1 requires Erlang/OTP 22.0 or greater. -This release updates Cowlib to 2.12.1 to fix a compilation -error when using Erlang/OTP 26. +=== Features added -It also fixes parsing of RST_STREAM frames to properly -handle frames that have a valid length but were not fully -received yet. +* 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. -- cgit v1.2.3