Repository navigation
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.
| 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.
The lower-level libraries are published products too, and 1.3.6 adds one entry point to them: QUICTransportParameters.validated() enforces the RFC 9000 section 18.2 value rules that decode deliberately leaves alone, because decode is also the TLS-extension parser and must keep accepting parameters this build does not model. The UDP helper's receive path also gained truncation reporting: an oversized datagram is refused rather than silently shortened.
| 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. |
- 294 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.6 was published from commit
1643ed4on 12 September 2026 with CI green across all three jobs, 294 package tests, both 40-scenario conformance suites, and reproducible artifacts verified against their published checksums. It is a defect-fix release; its evidence is unit, conformance, sanitizer and reproducibility coverage rather than a new interoperability run, so the 1.3.5 remote matrix (7/7 across five implementations) remains the standing interop claim for the protocol behaviour, which 1.3.6 does not change. - Release 1.3.5 was published from commit
b1c5625on 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
a777b26on 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
56a521eon 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
ac1c71con 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
3060a6eon 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.
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.
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.
The two trees are independent ports, not layers of one another: they share no files, and each has its own application names (wt-client-c99 versus wt-client). Work on one does not depend on the other.
The C99 port is intended for an OS whose constraint is no C++ support of any kind. The operator has confirmed two things that shrink the problem considerably:
- The OS has a full C99 libc, so allocations,
memcpy,snprintfand integer types are available and the plan's configurable-allocator design can stand as written. - The OS has a full, tested, Unix-compatible network stack, so the UDP runtime can use a POSIX socket backend rather than a bespoke NIC API.
In practice the port's dependency surface is ISO C99 plus POSIX.1-2008, not ISO C99
alone: SOCK_DGRAM, sendto/recvmsg, poll, clock_gettime and close are POSIX.
That is verified by compiling a probe, which binds a UDP socket, creates an IPv6 socket and
reads CLOCK_MONOTONIC cleanly under -std=c99 -pedantic -Werror.
One assumption needs confirming before Phase 2. C99/IMPLEMENTATION_PLAN.md names
OpenSSL 3.x as the source of every crypto primitive and of X.509 validation. The
library is C, not C++ — its own INSTALL.md requires make, Perl 5 with core modules,
Text::Template and an ANSI C compiler, with C++ only for an optional header-compatibility
test — so a target with no C++ support is not by itself a blocker. What is unconfirmed is
whether OpenSSL or another C-only X.509 provider is present on the target or must be
cross-compiled and vendored. Until that is answered, Phase 2 has no crypto provider, and
whether X.509 path validation is integrated or written by hand remains the dominant
security and schedule risk in the port. The trust model is an open decision recorded as
WT-12.
The size is estimated at roughly 15,000 to 25,000 lines of C99. The Swift side is measured at 17,126 lines across 49 files; the QUIC-runtime-from-scratch and crypto/X.509 portions have no Swift counterpart to size against, so that range carries real uncertainty.
Open items are tracked as WT-3 to WT-15 on the Project Tracker,
which is the only task list for this repository.