Skip to content

Implementation Status

André Borchert edited this page Aug 10, 2026 · 152 revisions

Implementation Status

The implementation targets IETF draft-ietf-webtrans-http3-15. As of 10 August 2026, the latest IETF revision is draft-ietf-webtrans-http3-16, published on 6 July 2026. Swift is currently marked 100% against the project's draft-15 compliance matrix; that score does not claim draft-16 compatibility. C99 and C++ remain planned work.

Swift products

The repository-root package exposes:

  • WebTransport
  • WebTransportNetworkRuntime
  • WebTransportHTTP3Core
  • WebTransportQUICCore
  • WebTransportTLSCore
  • WebTransportCryptoApple
  • WebTransportUDPApple
  • WebTransportClient
  • WebTransportServer

The nested Swift/Package.swift also provides LibrarySmokeClient, LibrarySmokeServer, and internal test support.

Public API

The high-level WebTransport product provides:

  • WebTransportClientConfiguration and WebTransportServerConfiguration for authority, path, origin, subprotocol policy, trust policy, settings validation, and timeouts.
  • WebTransportEndpoint and WebTransportConnectionResult for network endpoint and connection result values.
  • WebTransportClient and WebTransportServer for Swift concurrency connection and listener creation.
  • WebTransportListeningServer for accepting sessions, reporting the local endpoint, and shutting down the listener.
  • WebTransportSession and WebTransportBidirectionalStream for stream, datagram, drain, and close operations over the production runtime.
  • WebTransportLogger, WebTransportLogEvent, and WebTransportErrorSurface for opt-in redacted observability.

Deprecated demo-only client, server, stream, and session types are not part of the production API.

Protocol and runtime capabilities

The Swift implementation includes:

  • HTTP/3 frames, SETTINGS, control streams, request streams, GOAWAY, and error mapping.
  • Extended CONNECT establishment and rejection policy for WebTransport sessions.
  • Structured Fields parsing and serialization for WT-Protocol and WT-Available-Protocols.
  • QPACK static, literal, Huffman, dynamic table, Base, and post-Base behavior.
  • WebTransport streams, datagrams, buffering, rejection, close, drain, reset, stop-sending, and flow control.
  • QUIC variable-length integers, packets, frames, transport parameters, packet protection, and core state.
  • TLS/QUIC application-key readiness gated by certificate trust, CertificateVerify, Finished, ALPN h3, and QUIC transport parameters.
  • Packet-protected QUIC Initial CRYPTO validation, including Certificate, CertificateVerify, and Finished.
  • Transcript-derived 1-RTT packet keys for protected HTTP/3 WebTransport CONNECT and DATAGRAM signaling.
  • A Network.framework QUIC/TLS/HTTP/3 runtime for the package API and separate-process command-line tools.
  • A raw-frame compatibility mode restricted to lower-level conformance scenarios.
  • Explicit platform trust by default and an opt-in, loopback-only local self-signed mode.

Validation and hardening

The repository includes:

  • Shared positive and negative client/server conformance scenarios for CONNECT, streams, datagrams, GOAWAY, close and drain, malformed input, and flow-control failures.
  • Parser and property tests for QPACK, HTTP/3 frames, capsules, QUIC variable-length integers, transport parameters, WebTransport stream prefixes, malformed peers, ordering, replay, resource exhaustion, and close/reset races.
  • Process tests for help, scenario listing, invalid input, JSON contracts, exit status, failure logs, IPv4 and IPv6 packet loopback, unsupported real-network transport modes, and occupied ports.
  • Concurrent session stress, deterministic soak, datagram load, backpressure, network impairment, and runtime security-negative tests.
  • Release artifact smoke tests and a standalone public API compatibility sample.
  • DocC validation, release reproducibility checks, package tests, and both conformance suites in GitHub Actions.
  • External stream and QUIC DATAGRAM interoperability proof against independent implementations.

Public log and error surfaces are designed to avoid TLS secrets, certificate material, packet bytes, datagram payloads, QUIC connection identifiers, raw session identifiers, and peer close reason text.

Release and interoperability status

The release workflow produces reproducibility-checked Apple Silicon client and server executables with SHA256SUMS. External proof runners cover local independent implementations, a configured endpoint, and a five-implementation Debian 13 VPS matrix.

The currently documented third-party proof date is 20 June 2026. See Release and Interoperability for the tested implementations and commands. Treat the recorded result as point-in-time evidence and rerun it for a current release claim.

C99

The C99/ directory contains an implementation plan, planned source and API directories, test and application skeletons, platform build-support placeholders, and a generated artifact layout. It does not contain protocol source, a build system, command-line implementations, or conformance tests.

C++

The C++23 implementation directory is named CPP/ to avoid + characters in paths. It contains an implementation plan, planned source and API directories, test and application skeletons, platform build-support placeholders, and an artifact layout. It does not contain protocol source, a build system, command-line implementations, or conformance tests.

Clone this wiki locally