Supervised per-request H3 relay; application acknowledgements gate native reads.
With connection_ready_event: true the subscriber receives
{:http_runtime, generation, pid, :connection_ready} once a QUIC connection is
established or leased, before request stream admission. Earlier failures
prove that no request stream was admitted. For an early-data partition
(http3_resumption: true with early_data: true) the event is sent once the
resumed connection offers 0-RTT, before the early request is admitted and
before the handshake completes; a later handshake failure is reported as an
ordinary error.
With connection_info_event: true the subscriber receives
{:http_runtime, generation, pid, {:connection_info, %{resumed: boolean, early_data: boolean}}} before the response headers.
An extended CONNECT relay started with request_lifecycle is a proof-bearing
lifecycle worker: it returns normally only after its owner confirms that the
tunnel's request, native session request and queued actions are settled (or
the owner is observed down) and, for an exclusive owner, after the relay's
own Quic.Cleanup scope confirms native cleanup. Otherwise it marks the
tracker unconfirmed; death before return is unconfirmed too.
Summary
Functions
Asks an extended CONNECT relay to migrate its exclusive connection (beta).
Functions
Asks an extended CONNECT relay to migrate its exclusive connection (beta).
Only the relay's subscriber may ask. The subscriber receives
{:http_runtime, generation, pid, {:migration, tag, {:ok, migration_ref} | {:error, reason}}} for admission and, once admitted, {:migrated, migration_ref, {:ok, actual_local} | {:error, reason}}. Refusals by the
connection owner (pooled or shared connections) arrive as admission errors.