From 16e936712ec397ffa82cc6a5a0d1ef8a1981af9e Mon Sep 17 00:00:00 2001 From: Benoit Chesneau Date: Sun, 5 Jul 2026 23:43:13 +0200 Subject: [PATCH] Bump h2 to 0.10.4 Fixes a 0.10.3 regression where a blocking send whose data had fully drained received {error, stream_closed} on stream close. The waiting sender is now settled as ok once the send buffer drains. --- NEWS.md | 11 +++++++++++ rebar.config | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 658af227..412c2d82 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,16 @@ # NEWS +4.5.2 - 2026-07-05 +------------------ + +### Changed + +- Bump `h2` to 0.10.4. It fixes a regression from 0.10.3 where a blocking + send whose data had fully drained received `{error, stream_closed}` when + the stream closed on its END_STREAM chunk. A waiting sender is now settled + as `ok` once the send buffer has drained, and only gets the close-reason + error when data is still outstanding. + 4.5.1 - 2026-07-04 ------------------ diff --git a/rebar.config b/rebar.config index e7739426..7c7f90ac 100644 --- a/rebar.config +++ b/rebar.config @@ -55,7 +55,7 @@ %% Pure Erlang QUIC + HTTP/3 stack {quic, "~>1.6.5"}, %% Pure Erlang HTTP/2 stack - {h2, "~>0.10.3"}, + {h2, "~>0.10.4"}, %% WebTransport client (HTTP/3 and HTTP/2) - powers the wt_* API {webtransport, "~>0.4.1"}, {idna, "~>7.1.0"},