Skip to content

erlang: support OTP 29 and HTTP/3 server verification#855

Closed
benoitc wants to merge 3 commits into
deps/quic-1.4.4from
h3/quic-1.4.4-verify
Closed

erlang: support OTP 29 and HTTP/3 server verification#855
benoitc wants to merge 3 commits into
deps/quic-1.4.4from
h3/quic-1.4.4-verify

Conversation

@benoitc
Copy link
Copy Markdown
Owner

@benoitc benoitc commented May 27, 2026

Stacked on #854 (quic 1.4.4 bump).

quic 1.4.4 verifies the server certificate by default. hackney now passes its TLS options through to the QUIC connection so HTTP/3 honors the request's insecure option and CA configuration, defaulting to the certifi trust store like the HTTPS path.

Also replaces the deprecated catch Expr form with try ... catch so hackney compiles cleanly on OTP 29, bumps h2 to 0.6.1 (which carries the same fix), and adds OTP 29 to the CI matrix.

benoitc added 3 commits May 28, 2026 01:03
Replace the deprecated catch expression with try across the codebase so
hackney compiles cleanly on OTP 29, reusing small stop/close helpers
instead of repeating the wrapper.

Wire hackney's TLS options through to the QUIC connection so HTTP/3
honors the request's insecure option and uses certifi as the default
trust store, matching the HTTPS path, now that quic 1.4.4 verifies the
server certificate by default.

Add OTP 29 to the CI matrix.
0.6.1 replaces the deprecated catch form, so the dependency builds on
OTP 29 without warnings_as_errors failing.
Drop the now-unreachable catch-all in getbyname (try cannot yield the
{'EXIT', _} the old catch did) and have the trace safe/1 helper return
ok so its result is not an unmatched union.
@benoitc benoitc deleted the branch deps/quic-1.4.4 May 27, 2026 23:39
@benoitc benoitc closed this May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant