Repository navigation
Known Limitations
This page defines the current boundary of the reference implementation.
- The active runtime requires macOS 26, Xcode 26.6 or later, Swift 6.3.3 or later, Network.framework, Apple Security, CryptoKit, and Darwin APIs.
- Published command-line artifacts are Apple Silicon Mach-O binaries.
- The project does not currently provide Linux, Windows, browser, or cross-platform Swift runtime support.
- Real client and server sessions use packet transport. Frame transport exists only inside lower-level conformance scenarios.
- The high-level API exposes bidirectional streams; core unidirectional stream behavior is not yet surfaced through
WebTransportSession. - The server admission layer is protocol policy plus connection concurrency and rate limits. It is not application authentication or authorization.
- Local self-signed trust is development-only and restricted to loopback endpoints. The generated server certificate is likewise refused on non-loopback binds.
- A listener's TLS identity is fixed when the listener is created. Network.framework builds listener parameters once per listener rather than once per connection, so a renewed certificate cannot be swapped in on a live listener; rotation replaces the listener and leaves the port briefly unbound.
- Serving browsers requires
settingsValidation: .interoperable. The default is.draft16Strict, which rejects peers implementing earlier revisions — browsers among them.
Session establishment is reliable on a machine that is not saturated, and degrades under heavy CPU contention.
| Host state | 1.3.0 | 1.3.1 |
|---|---|---|
| Idle (load ~1.5 on 8 cores) | 0 / 4000 | 0 / 4000 |
| Every core saturated (load ~30) | 21 / 2400 (0.88%) | 28 / 2400 (1.17%) |
Measured on four otherwise unused Mac minis, paired and interleaved, using the published release binaries. The two releases are indistinguishable under load; the difference shown is noise.
Two real defects were found and fixed along the way — inbound streams discarded
when they arrived before a handler was attached, and a stream delivered twice
being processed twice — and the
unknown WebTransport stream marker: 0 failure has not been observed since the
second of those. Neither fix changes the load sensitivity above, and earlier
figures on this page attributing a rate improvement to them were measured on a
loaded development machine and did not reproduce. See
Audit Phase 05.
The cause is below this package. Network.framework can drop an inbound QUIC
stream on a saturated host. When the stream it drops is the peer's HTTP/3 control
stream, neither end can proceed and both wait until they time out. This
reproduces with a standalone NetworkListener<QUIC> and NetworkConnection<QUIC>
— no HTTP/3, no WebTransport — losing one of three peer-opened streams in 13 of
1600 connections on saturated receivers, which is the rate seen here.
Nothing in this package can recover such a connection, because the stream is never
resent. That is also why a longer deadline is wasted: measured under identical
load, 6 second and 60 second timeouts failed at the same rate. The runtime reports
WebTransportNetworkRuntimeError.peerControlStreamNotDelivered rather than a bare
timeout, so the condition is recognisable in a log. Treat it as a signal to open
a new connection, not to wait longer.
Reported to Apple through Feedback Assistant with a standalone reproducer attached. The remedy is on the transport's side; this package can only recognise the condition and report it.
Note when investigating anything in this area: enabling the debug log suppresses the failure entirely, so it cannot be observed with instrumentation on the delivery path. See Audit Phase 05 for how it was caught, and Development and Testing for how to inspect a hung session without perturbing it.
-
C99/andCPP/are plans and skeletons, not working implementations. - The root and nested Swift package manifests have intentionally different product sets and must be kept synchronized for shared modules.
Swift/check-manifest-sync.shenforces this in CI. - Formatting is described by
.swift-formatand linted in CI as an advisory step. Making it blocking requires reformatting the tree once, deliberately.
- Releases 1.3.0 and 1.3.1 were published on 15 August 2026 and 1.3.3 on 16 August 2026. Release 1.2.0 passed the local four-proof interoperability gate on 11 August 2026.
- The remote matrix was rerun on 14 August 2026 against current code and passed 4 of 7 proofs across 3 of 5 implementations: pywebtransport/aioquic (stream), web-transport-quinn (stream and datagram), and web-transport-quiche (stream). Those four are the same proofs the 1.2.0 release gate required, and unlike the containerized matrix they ran with platform system trust against a CA-issued certificate over a routable path.
- The remaining three proofs are unproven on current code: hyperium/h3-webtransport (datagram) and erlang-webtransport (stream and datagram) are not currently deployed. Their last evidence is 20 June 2026, predating the CONNECT path changes.
- The containerized matrix and browser verification cover protocol interop only: loopback, self-signed certificates.
- Approximately 21,000 of the Swift source lines have been reviewed by pattern analysis rather than read line by line. Passing tests establish that the code does what its authors intended, not that their intent matches the specification.
- Generated proofs and release artifacts under
.build/are local evidence and are not source-controlled.
- trust policy, certificate handling, TLS/QUIC key state, or public log redaction;
- parser, buffering, flow-control, and resource limits;
- supported platform or Swift/macOS baseline;
- release reproducibility or interoperability gates;
- claims that planned language ports are implemented.