Skip to content

Implementation Status

André Borchert edited this page Sep 11, 2026 · 152 revisions

Implementation Status

The active Swift implementation targets IETF draft-ietf-webtrans-http3-16, published on 6 July 2026. Every item in the repository's draft-16 compliance matrix currently passes, backed by protocol, runtime, process, and interoperability tests.

This status is an implementation claim, not a general certification. The project remains macOS-specific and under active development; see Known Limitations.

Public API

Surface Responsibility
WebTransportClientConfiguration Authority, path, origin, subprotocols, trust, settings profile, optimistic capsules, and timeout.
WebTransportServerConfiguration Listener admission policy, supported subprotocols, settings profile, timeout, local-only binding, TLS identity, connection admission limits, and QUIC transport limits.
WebTransportClient Establish outbound WebTransport sessions.
WebTransportServer Create configured listeners.
WebTransportListeningServer Report the bound endpoint and certificate fingerprint/expiry, accept sessions, and shut down immediately or gracefully with GOAWAY and drain.
WebTransportSession Streams, datagrams, drain, close, endpoints, selected protocol, and TLS exporter material.
WebTransportBidirectionalStream Send and receive application data over a QUIC stream.
WebTransportLogger and WebTransportErrorSurface Opt-in sanitized events and redacted public error text.

The high-level package intentionally exposes a smaller surface than the protocol-core modules. Unidirectional stream handling exists in the core but is not currently part of the application-facing WebTransportSession API.

Protocol coverage

Area Implemented behavior
Session establishment HTTP/3 extended CONNECT, authority/path/origin policy, subprotocol negotiation, acceptance, and rejection.
Draft-16 behavior Optimistic capsules, directional flow control, strictly increasing limits, close-message validation, excessive-session rejection, and session-bound TLS exporter context.
Streams and datagrams Bidirectional and core unidirectional streams, QUIC DATAGRAM signaling, buffering, backpressure, reset, stop-sending, close, and drain.
HTTP/3 and QPACK SETTINGS, control/request streams, frames, GOAWAY, static and dynamic QPACK behavior, Huffman coding, Base, and post-Base references.
QUIC Variable-length integers, packets, frames, stream identifiers, transport parameters, flow/congestion state, loss and ACK helpers, and packet protection.
TLS 1.3 Handshake messages, transcript and key schedule, certificate trust and CertificateVerify gating, Finished, ALPN h3, QUIC parameters, and exporter material.
Runtime Network.framework QUIC client/server sessions, packet transport, trust policies, endpoints, timeouts, and connection lifecycle.

Validation evidence

  • 293 Swift tests cover the public API, runtime, protocol layers, crypto, UDP, process behavior, stress, malformed input, resource limits, server identity, admission policy, graceful shutdown, peer-input fuzzing, and PKCS#12 identity import of bundles Security.framework cannot build an identity from.
  • Client and server command-line conformance suites each contain 40 positive and negative scenarios.
  • CI enforces the Swift 6.3.3 toolchain baseline, strict memory and concurrency diagnostics, manifest agreement between the two package manifests, builds the package and DocC, compiles a standalone API consumer, verifies reproducible release artifacts, runs the test suite, and runs both conformance suites. Two further jobs run the peer-input fuzz corpus under AddressSanitizer and the in-process suite under ThreadSanitizer.
  • The remote interop matrix passed 7/7 proofs across 5 independent implementations on 16 August 2026, with platform system trust over a routable path.
  • Release 1.3.5 was published from commit b1c5625 on 16 August 2026 with CI green across all three jobs, 273 package tests, both 40-scenario conformance suites, remote interop 7/7 and containerized interop 5/5.
  • Release 1.3.4 was published from commit a777b26 on 16 August 2026 with CI green across all three jobs, 273 package tests, both 40-scenario conformance suites, and containerized interop passing 5/5.
  • Release 1.3.3 was published from commit 56a521e on 16 August 2026 with CI green across all three jobs, 263 package tests and both 40-scenario conformance suites.
  • Release 1.3.1 was published from commit ac1c71c on 15 August 2026 with CI green across all three jobs, 260 package tests, both 40-scenario conformance suites, and Docker interop passing 5/5.
  • Release 1.3.0 was published from commit 3060a6e on 15 August 2026 with CI green across all three jobs, 256 package tests, both 40-scenario conformance suites, and Docker interop passing 5/5 across pywebtransport/aioquic, Quinn and Quiche. Its code audit was performed by Claude Opus 5.
  • Release 1.2.0 passed four required stream/datagram proofs across pywebtransport/aioquic, Quinn, and Quiche implementations.
  • A containerized matrix reproduces five of those proofs on any machine with Docker, and Chrome 148 has been verified end to end against the listener.
  • Peer-facing parsers are fuzzed under AddressSanitizer; the runtime is checked under Thread Sanitizer and a connection-churn soak.

See Development and Testing for commands and Release and Interoperability for proof boundaries.

Package layers

The repository-root package exports the high-level WebTransport product, six lower-level libraries, and the WebTransportClient and WebTransportServer executables. The nested Swift/Package.swift additionally provides smoke-test executables and shared test support.

WebTransportNetworkRuntime also depends on WebTransportSecurityShim, an internal C/Objective-C target that is not exported as a product. It exists because SecPKCS12Import raises an Objective-C exception for an identity it cannot construct, and Swift cannot catch one; the shim provides the Objective-C frame where that exception becomes a status code. It is the only non-Swift source in the repository.

Planned ports

C99/ and CPP/ contain implementation plans, directory skeletons, and platform placeholders. Neither tree contains a working protocol stack, build system, CLI implementation, or conformance suite. Their status must remain “planned” until runnable code and equivalent evidence exist.

Clone this wiki locally