diff --git a/NEWS.md b/NEWS.md index 3f3e0bfd..0307d58f 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,22 @@ # NEWS +4.12.3 - 2026-11-21 +------------------- + +### Changed + +- quic 3.3.0 and webtransport 0.5.13. + +### Fixed + +- HTTP/3 and WebTransport: when a server closed the connection right + after the handshake, for example a server that requires a client + certificate and got none, the request could fail with an unrelated + error or only after the connect timeout. It now fails at once with + the reason the server gave. +- HTTP/3: with a host name that resolves to several addresses, the same + case no longer waits for the full connect timeout. + 4.12.2 - 2026-11-20 ------------------- diff --git a/rebar.config b/rebar.config index eb28bccd..439be860 100644 --- a/rebar.config +++ b/rebar.config @@ -53,11 +53,11 @@ {deps, [ %% Pure Erlang QUIC + HTTP/3 stack - {quic, "~>3.2.0"}, + {quic, "~>3.3.0"}, %% Pure Erlang HTTP/2 stack {h2, "~>0.18.3"}, %% WebTransport client (HTTP/3 and HTTP/2) - powers the wt_* API - {webtransport, "~>0.5.12"}, + {webtransport, "~>0.5.13"}, {idna, "~>8.0.0"}, {mimerl, "~>1.5"}, {certifi, "~>2.19.0"}, diff --git a/rebar.lock b/rebar.lock index d96579f6..ea2b65cb 100644 --- a/rebar.lock +++ b/rebar.lock @@ -4,9 +4,9 @@ {<<"idna">>,{pkg,<<"idna">>,<<"8.0.0">>},0}, {<<"mimerl">>,{pkg,<<"mimerl">>,<<"1.5.0">>},0}, {<<"parse_trans">>,{pkg,<<"parse_trans">>,<<"3.4.2">>},0}, - {<<"quic">>,{pkg,<<"quic">>,<<"3.2.0">>},0}, + {<<"quic">>,{pkg,<<"quic">>,<<"3.3.0">>},0}, {<<"ssl_verify_fun">>,{pkg,<<"ssl_verify_fun">>,<<"1.1.9">>},0}, - {<<"webtransport">>,{pkg,<<"webtransport">>,<<"0.5.12">>},0}]}. + {<<"webtransport">>,{pkg,<<"webtransport">>,<<"0.5.13">>},0}]}. [ {pkg_hash,[ {<<"certifi">>, <<"B3965751ECB7D7BF1D6E86AC26236FA338A606CB8E441CA8C77CD839296E0883">>}, @@ -14,16 +14,16 @@ {<<"idna">>, <<"BB8795A18AADCE07DCE6A3928C4FCAE74AC66EAF95186B46EA11598BCCC719F9">>}, {<<"mimerl">>, <<"F35ACA6F23242339B3666E0AC0702379E362B469D0AEA167F6CC713547E777ED">>}, {<<"parse_trans">>, <<"C352DDC1A0D5E54F9B1654D45F9C432EEF76F9CEA371C55DDFF769EF688FDB74">>}, - {<<"quic">>, <<"B3F66B10B6E946F8AA4F0BCBB812A195BBFA02394D57D81418C9261FE4A9B844">>}, + {<<"quic">>, <<"4A55908709F9D5F21F9E38A1BBD136A5756E202E6EE89ED5B74B5DB069721482">>}, {<<"ssl_verify_fun">>, <<"4FF292DC16E728FDE1235CF5FA6BCD3CA01864004526F71A4A70935509D1A7F1">>}, - {<<"webtransport">>, <<"3BE744C549A7C2E60ECC6B1E3631C11CF4FF2869E7B01BCE9DABE9DB7B160C6F">>}]}, + {<<"webtransport">>, <<"5786CAE0A6A39D2A9BB11F7C94B208707A736A33C4DE4B4E02268DFD0C0F984F">>}]}, {pkg_hash_ext,[ {<<"certifi">>, <<"7BAC57B76EAE5C4B576D4A61A4FD083D186BA7F7918EE2C2B42CB02095E366A8">>}, {<<"h2">>, <<"CC53D7A6CB67DCCA975DBAAA0B41C190677E77808A6748D11810CC1D76320E0F">>}, {<<"idna">>, <<"E0C5CE7846F14515AF66142A55B8097D5F46D10DF9235E781F168BEF5622BCF9">>}, {<<"mimerl">>, <<"DB648CE065BAE14EA84CA8B5DD123F42F49417CEF693541110BF6F9E9BE9ECC4">>}, {<<"parse_trans">>, <<"4C25347DE3B7C35732D32E69AB43D1CEEE0BEAE3F3B3ADE1B59CBD3DD224D9CA">>}, - {<<"quic">>, <<"A82C28AFEFAAEDAEEC1F59ED400CEF0746F94C11A91F3A8DFC7F4EC260B43481">>}, + {<<"quic">>, <<"8BE3AF3C8FE9B11A60C7443C6173019264DD2147DA62759BC772CD9233E16BEC">>}, {<<"ssl_verify_fun">>, <<"19F24AD715EF6255D530B2F0DB8B2D2191AE435B6527234E943F523E84ED0895">>}, - {<<"webtransport">>, <<"0791420E8F80E8E0112BCC2FCDDD91B121796DDFD031FFB59A42F812382A24AD">>}]} + {<<"webtransport">>, <<"97C89AB850110DF2EDC000C37E880FEDC629954E12E2A3BEED7EF804B55A165B">>}]} ]. diff --git a/src/hackney.app.src b/src/hackney.app.src index 254b5e86..95183018 100644 --- a/src/hackney.app.src +++ b/src/hackney.app.src @@ -4,7 +4,7 @@ {application, hackney, [ {description, "Simple HTTP client with HTTP/1.1, HTTP/2, and HTTP/3 support"}, - {vsn, "4.12.2"}, + {vsn, "4.12.3"}, {registered, [hackney_pool]}, {applications, [kernel, stdlib,