Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# NEWS

4.11.1 - 2026-11-13
-------------------

### Security

- WebTransport: a `cacertfile` that could not be read or held no
certificate was silently skipped, and over HTTP/3 the server was then
checked against the system trust store instead of the CAs you chose.
Connecting now fails with `{error, {cacertfile, File, Reason}}`. An
unusable `certfile` or `keyfile` fails the same way over HTTP/3.
- WebTransport: a server could make a session use memory without limit,
by sending datagrams faster than they were read, by never granting
flow-control credit, by holding large unfinished capsules, or simply
by keeping a stream open. Each of these is now bounded.

### Fixed

- WebTransport over HTTP/2: a session that ended, for example after the
server drained the connection, could kill the hackney WebTransport
process. Over HTTP/3, a session now ends when its connection closes.

### Changed

- webtransport 0.5.8. A WebTransport send that would exceed 4 MiB of
data waiting for the server's flow-control credit now returns
`{error, send_buffer_full}`.

4.11.0 - 2026-11-13
-------------------

Expand Down
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
%% Pure Erlang HTTP/2 stack
{h2, "~>0.17.0"},
%% WebTransport client (HTTP/3 and HTTP/2) - powers the wt_* API
{webtransport, "~>0.5.6"},
{webtransport, "~>0.5.8"},
{idna, "~>8.0.0"},
{mimerl, "~>1.5"},
{certifi, "~>2.18.0"},
Expand Down
6 changes: 3 additions & 3 deletions rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{<<"parse_trans">>,{pkg,<<"parse_trans">>,<<"3.4.2">>},0},
{<<"quic">>,{pkg,<<"quic">>,<<"2.7.0">>},0},
{<<"ssl_verify_fun">>,{pkg,<<"ssl_verify_fun">>,<<"1.1.9">>},0},
{<<"webtransport">>,{pkg,<<"webtransport">>,<<"0.5.6">>},0}]}.
{<<"webtransport">>,{pkg,<<"webtransport">>,<<"0.5.8">>},0}]}.
[
{pkg_hash,[
{<<"certifi">>, <<"BD5F34EB8FE7C3EEE3C705C1F9472174E8D4C353FC9C09A4CB937B891E80E329">>},
Expand All @@ -16,7 +16,7 @@
{<<"parse_trans">>, <<"C352DDC1A0D5E54F9B1654D45F9C432EEF76F9CEA371C55DDFF769EF688FDB74">>},
{<<"quic">>, <<"CA84638D8EC023576BF9339CEA027E939EF7B671EDF4CACE2873BC87F5237A55">>},
{<<"ssl_verify_fun">>, <<"4FF292DC16E728FDE1235CF5FA6BCD3CA01864004526F71A4A70935509D1A7F1">>},
{<<"webtransport">>, <<"71F398045D5BA3A679B249E31528E7681DC122199C79E5EC3E303D395044246B">>}]},
{<<"webtransport">>, <<"5120BB57E10C5949A26F8F6CB308FFE9CEEF01FE103D30C44A5D0497FD6AAE68">>}]},
{pkg_hash_ext,[
{<<"certifi">>, <<"A8B61115E393A2298B20451A36BEFFDABE08E61BC16CC1926D7991F6721103BF">>},
{<<"h2">>, <<"1BDD05C8622B87C0D68992875F8802029C53EE634EA83A4FE4C20B178942CA4D">>},
Expand All @@ -25,5 +25,5 @@
{<<"parse_trans">>, <<"4C25347DE3B7C35732D32E69AB43D1CEEE0BEAE3F3B3ADE1B59CBD3DD224D9CA">>},
{<<"quic">>, <<"88CCB9CAA42D2A315327A624D677C8A63E793F3530451F50CEC04A7957167124">>},
{<<"ssl_verify_fun">>, <<"19F24AD715EF6255D530B2F0DB8B2D2191AE435B6527234E943F523E84ED0895">>},
{<<"webtransport">>, <<"AD017A7B3643344519910BA281A83F28CE928AEE3AFDEDF6B0DBE390E7267710">>}]}
{<<"webtransport">>, <<"62F1075FB8FF3717B291971C541E888BC8AAE1363E45226DA0D310105E9BB24D">>}]}
].
2 changes: 1 addition & 1 deletion src/hackney.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{application, hackney,
[
{description, "Simple HTTP client with HTTP/1.1, HTTP/2, and HTTP/3 support"},
{vsn, "4.11.0"},
{vsn, "4.11.1"},
{registered, [hackney_pool]},
{applications, [kernel,
stdlib,
Expand Down
Loading