Update quic to 1.6.1 and add IPv6 and 0-RTT to the HTTP/3 client#862
Merged
Conversation
Owner
benoitc
commented
Jun 2, 2026
Bump the quic dependency to 1.6.1. Forward a family (inet|inet6) and happy_eyeballs option into the QUIC connect options so callers can select the address family; quic does DNS and Happy Eyeballs and accepts IPv6 literals. This also fixes a gap where ssl_options never reached H3 on the pooled path. Add 0-RTT and session resumption. The session ticket is captured from the new quic_h3 owner messages and cached in the pool keyed by host/port/ transport, then replayed on the next connection. Real request-in-0-RTT is sent before the connection reports connected on the one-shot hackney_h3 path for bodyless requests, with a single 1-RTT retry on rejection; the pooled path uses the ticket for a resumed handshake. Gated by the zero_rtt option, and an explicit session_ticket overrides the cache. New hackney_h3 functions: early_data_accepted/1, get_session_ticket/1, wait_session_ticket/2. New hackney_pool functions: get_h3_session/4, store_h3_session/5, delete_h3_session/4.
The ubuntu-24.04-arm runner reports ImageOS=ubuntu24-arm64, which setup-beam cannot map, failing the job before it builds. Override it to ubuntu24.
The in-process WebTransport handshake over UDP loopback occasionally stalls under CI load and returns connect_timeout, flaking a random integration subtest. Retry the connect a few times in the test helper.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.