Repository navigation
Implementation Status
Both libraries target IETF draft-ietf-webtrans-http3-16, published 6 July 2026, and both are released at 1.7. This page states what works today. Open work is on the Project Tracker — it is not listed here.
The Swift conformance matrix passes in full: each of the 40 client scenarios and each of the 40 server scenarios passes in a checkout.
SUMMARY WebTransportClient: passed=40 failed=0 skipped=0 total=40
SUMMARY WebTransportServer: passed=40 failed=0 skipped=0 total=40
| Surface | Responsibility |
|---|---|
WebTransportClientConfiguration |
Authority, path, origin, subprotocols, transport, trust policy, settings profile, optimistic capsules, timeout. |
WebTransportServerConfiguration |
Authority, path, origin, supported subprotocols, settings profile, timeout, local-only binding, TLS identity, admission policy, QUIC transport limits. |
WebTransportClient |
connect(to:) an outbound session, or echo(to:message:) a loopback exchange. |
WebTransportServer |
listen(on:maxConcurrentConnections:) and rotateIdentity(of:to:on:gracePeriodMilliseconds:). |
WebTransportListeningServer |
Bound endpoint, certificate SHA-256 and expiry, acceptSession(), serveOne(), shutdown() and shutdown(gracePeriodMilliseconds:). |
WebTransportSession |
Bidirectional and unidirectional streams, datagrams, drain, close, endpoints, selected protocol, TLS exporter material. |
WebTransportBidirectionalStream |
send(_:endOfStream:) and receive(maximumBytes:). |
WebTransportUnidirectionalStream |
Receive-only, with id and receive(maximumBytes:). |
WebTransportLogger, WebTransportLogEvent, WebTransportErrorSurface
|
Opt-in sanitized events and redacted public error text. |
The Swift package requires macOS 26 or later, Xcode 27 or later and Swift 6.4. The portable path is the C99 library.
| Area | Implemented |
|---|---|
| Session establishment | HTTP/3 extended CONNECT, authority/path/origin policy, subprotocol negotiation, acceptance and rejection. |
| Draft-16 behaviour | Optimistic capsules, directional flow control, strictly increasing limits, close-message validation, excessive-session rejection, session-bound TLS exporter context. Capsules travel inside HTTP/3 DATA frames in both libraries (RFC 9114 §4.4, RFC 9297 §3.1/§3.2), and a peer that writes one raw is ignored rather than refused. |
| Streams and datagrams | Bidirectional streams, peer-initiated unidirectional streams (receive-only), QUIC DATAGRAM signalling, buffering, backpressure, reset, stop-sending, close and drain. |
| HTTP/3 and QPACK | SETTINGS, control/request streams, frames, GOAWAY, static QPACK, Huffman coding, and the dynamic table's own codecs — encoder and decoder streams, Base and post-Base references. No endpoint enables a non-zero table capacity, so a field section that references the dynamic table is refused rather than resolved. |
| QUIC | Variable-length integers, packets, frames, stream identifiers, transport parameters, flow/congestion state, loss and ACK helpers, packet protection. |
| TLS 1.3 | Handshake messages, transcript and key schedule, certificate trust and CertificateVerify gating, Finished, ALPN h3, QUIC parameters, exporter material. |
| Runtime | Network.framework QUIC client/server sessions, packet transport, trust policies, endpoints, timeouts and connection lifecycle. |
- 0-RTT is not implemented, in either library.
- The HTTP/2 capsule binding is absent; this is a WebTransport-over-HTTP/3 implementation.
- Two CLI conformance scenarios read the source tree, so they are skipped outside a checkout with exit status 3.
See Known Limitations for what each of these means for a user.
The C99 tree is a self-contained CMake project with its own implement/then-test loop.
| Evidence | Result |
|---|---|
| CTest |
97 tests, all passing on macOS 26 (100% tests passed out of 97). |
| Sanitizers | Every suite runs again under AddressSanitizer and UndefinedBehaviorSanitizer, in a separate configure directory. The Linux leg enables LeakSanitizer; Darwin has none. |
| Windows | The whole tree cross-compiles, links (91 PE32+ executables plus libwebtransport.dll) and runs: 85 of 85 test executables under Wine, on an enforced native windows-latest job (MSYS2 MINGW64) -- and, since WT-260, under MSVC and Clang-CL as well, both of which configure, build and pass the whole 97-test suite in CI. Those two legs found seven defects no POSIX compiler reports, from a webtransport.lib generated twice to a DLL that exported nothing. |
| FreeBSD | The whole suite runs in the freebsd CI job, which boots a FreeBSD 15.1 VM on an Ubuntu runner and runs the same configure, build and ctest there, so a FreeBSD-only regression fails a pull request (WT-223). It was measured by hand on a real kernel first, which is what the job encodes. |
| Conformance tool |
57 scenarios, all passing in one process over IPv4 and IPv6, reported as 57 scenario(s): 57 passed, 0 failed, 0 unsupported. |
| Compliance matrix | 39 of 40 draft-16 requirements exercised by a test, 1 partial (Origin policy, which the library exposes and leaves to the application), plus 6 rows describing the lower layers — 46 data rows in all. C99/scripts/score-matrix.sh counts it from C99/docs/COMPLIANCE-MATRIX.md. |
| Definition of Done |
All 9 criteria met, 0 partial, 0 unmet -- and the plan's Phase 12 matrix is complete on every platform and every compiler it names (macOS, Debian, FreeBSD, Windows 11 under mingw GCC, MSVC and Clang-CL). One draft-16 requirement is still partial, which is a matrix row rather than a criterion. |
| Static analysis | Clang Static Analyzer over all 106 library and tool sources, plus cppcheck over the same set. |
| Fuzzing | A 200,000-input parser fuzz run, registered as a CTest test. |
| Package | The install tree carries a static and a shared library, 64 public headers, the find_package(webtransport_c99) CMake package and the three CLI tools. C99/scripts/check-package.sh builds a consumer against the installed package and runs all three installed tools. |
Deliberate absences in C99, stated in the matrix rather than hidden: server push (refused deterministically), 0-RTT and resumption (the ticket machinery is not implemented), and a peer that changes its connection ID during the handshake (not tracked). Connection migration is out of scope by design: a connection has one peer address, and a caller that needs to move a session re-establishes it.
| Run | Result |
|---|---|
| C99 client, containerized | A whole session and message exchange against pywebtransport/aioquic, web-transport-quinn and web-transport-quiche. |
| C99 client, routable host |
7 of the 7 Phase 11 proofs; all five independent implementations pass, every attempt with --trust system so the certificate chain is validated against the platform trust store and the name is checked. The 17 September 2026 re-run passed every proof on its first attempt (C99/out/vps-interop/summary.json: passedProofCount 7, requiredProofCount 7, allPassed true, failedProofs empty), and the environment is reproducible from the repository (C99/tests/interop/deploy-vps-peers.sh, reset-vps-peers.sh, sync-vps-peer-certificates.sh). |
| C99 server | One independent client (pywebtransport) completes a session against wt-server-c99. |
| Swift | Independent stream and datagram interop against pywebtransport/aioquic, Quinn, Quiche, hyperium/h3-webtransport and erlang-webtransport, in containers and over a routable path with system trust; Chrome has been verified end to end against the listener. |
See Release and Interoperability for the commands and the evidence boundaries.
- Project Tracker — every open item, split across the Swift and C99 pages.
- Known Limitations — user-visible limitations and workarounds.
- Development and Testing — how to reproduce every result on this page.