Repository navigation
Project Tracker
The single place where known work on WebTransport is recorded: what is being
worked on, what has been fixed, and what is known but not yet scheduled. Update
this page whenever a change lands on main or a new defect or task is identified.
Last updated: 12 September 2026, at release 1.3.6.
This is the only project tracker for the repository. If a second list of tasks ever appears elsewhere, this page wins and the other one should be folded into it.
Current release: 1.3.6, published 12 September 2026 from commit 1643ed4. It is a defect-fix release closing the accept-queue defect and a set of codec, runtime and CLI conformance gaps found by the audit. Nothing in this list is a blocker for it; the open items below are future work.
- A row leaves Open work when the change is merged to
mainand the documentation is updated, and moves to Resolved. -
Numbering. Every item has a stable reference that never changes once
assigned, so a commit message, an issue, or a review comment can point at one row
and stay correct.
-
#N— a GitHub issue number, where one exists. -
WT-N— a tracker-local item with no issue yet. Work discovered while doing something else is recorded here first and filed as an issue later if it warrants one; theWT-Nreference stays valid either way. - Numbers are never reused and never renumbered. An answered question moves to Resolved like anything else rather than being deleted, so the numbering stays contiguous and the answer is still findable later.
-
- Unknown problems belong here too. Anything noted but not understood — a suspicion that could not be reproduced, a behaviour that looks wrong but has no trigger yet — gets a row and a number, marked unverified in its Notes. A suspicion recorded is cheap; a suspicion forgotten is re-discovered later at full cost.
- Severity follows the repository label scheme: P0 blocks a release or breaks core functionality or creates a security risk, P1 is required for MVP or release readiness, P2 is important but not blocking, P3 is polish or hardening.
| Ref | Severity | Area | Item | Notes |
|---|---|---|---|---|
| WT-1 | P2 | transport | The Retry Integrity Tag is never computed or verified, so a caller that treats decode as validation will accept a forged Retry packet. RFC 9001 section 5.8 requires the tag to be checked, and the packet type does not retain the original Destination Connection ID it would need as associated data. |
Needs an API decision: verifying the tag requires the original DCID, so the type or its decode signature has to carry it. Not a small change, and the shipped runtime uses Network.framework's QUIC rather than this codec. |
| WT-2 | P3 | api | Several fixed codecs and the transport-parameter validator are not on the shipped path, which uses Network.framework's QUIC rather than this package's QUIC/HTTP-3 stack. The fixes are real but exercise only where an embedder constructs those types directly. | Recorded so the coverage boundary is not mistaken later. Not a defect; a scope statement. |
| WT-3 | P1 | c99, crypto |
C99/IMPLEMENTATION_PLAN.md names OpenSSL 3.x as its production dependency for crypto, X.509 parsing, certificate validation, HKDF, AEAD and signature verification. Whether the target can use it is unconfirmed. |
Corrected. An earlier version of this row said OpenSSL cannot be used without C++ support. That was wrong and is retracted: OpenSSL is a C library and its own INSTALL.md lists make, Perl 5 with core modules, Text::Template and "an ANSI C compiler" as the requirements. C++ appears only for the optional enable-buildtest-c++ check that the public headers work in C++. So this is not a language blocker but an availability and maintenance question: is OpenSSL (or a C-only X.509 provider) present on the target, or must it be cross-compiled and vendored? The build host needs Perl and make; the target needs only the compiled .so/.a. Until that is answered, Phase 2 has no crypto provider. |
| WT-4 | P1 | c99, transport | The entire QUIC transport currently comes from NetworkListener<QUIC> and NetworkConnection<QUIC>. Nothing equivalent exists on the target platform, so this is new code written from the RFCs, not a port. | Verified by measurement: 19 references across 2 files, one of which is 2,228 lines; the two files total roughly 3,340 lines of the 17,126-line source tree. This is the largest single workstream. |
| WT-5 | P1 | c99, crypto | Apple-only crypto and key handling must be replaced with C99 implementations: 9 source files import Security or CryptoKit. | Verified by grep over Swift/Sources. Covers AES-GCM, ChaCha20-Poly1305, HKDF, SHA-256, X25519 and ECDSA/Ed25519 verification. |
| WT-6 | P0 | c99, security | TLS 1.3 with real X.509 chain validation is the highest-risk part of the port. The Swift equivalent delegates the trust decision to Apple, and TLSQUICConnectionState does not authenticate the handshake by its own documentation, so there is no vetted reference to copy. | Verified by reading the type's docstring and by the audit. If OpenSSL or another C-only provider is available (WT-3), this reduces to integrating it; if the crypto stack must be written in C99, X.509 path validation becomes the dominant security and schedule risk. Either way the trust model needs an explicit decision (WT-12) rather than a default. |
| WT-9 | P2 | c99, tests | The test suite that gives this port its correctness evidence cannot run on a freestanding target. The protocol stack needs a host build with libc and a test crypto backend, where the RFC vectors and the existing Swift suite act as an oracle. | Verified by the plan's own completion criteria, which require RFC vectors, malformed-input corpora and interop runs. The target having a full libc makes this easier than expected: a host build is now a build-flag difference rather than a portability project. |
| WT-10 | P2 | c99 | Size estimate for the C99 port: roughly 15,000 to 25,000 lines, in the nature of a multi-month effort. | Partly verified, partly inferred. 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 the range carries real uncertainty and should not be treated as a committed estimate. |
| WT-11 | P3 | c99, docs | C99/ and CPP/ are independent ports, not layers of one another: they share no files, and each has its own app names (wt-client-c99 versus wt-client). The C99 tree can be developed with CPP/ deleted. | Verified by diff -rq C99 CPP, which reports only per-tree README, plan and script differences. Recorded because the opposite is a natural assumption and would wrongly make the C99 work look dependent on the C++ tree. |
| WT-12 | P0 | c99, security | Decision needed: how is X.509 chain validation provided, and what is the trust model? Options are (a) use or vendor a C-only X.509 provider such as OpenSSL, (b) write a narrowly scoped C99 validator covering only the chain shapes the deployment uses, or (c) pin leaf certificates or an explicit trust set and skip general path building. The choice determines how much of TLS 1.3 is really being written, and it cannot be deferred past Phase 3. | Open question for the operator. The WebTransport draft permits a server identity the client validates against a configured trust policy, so a pinned or narrowly scoped model may be viable and would remove the largest risk in the port. Note that (c) is only acceptable if the deployment genuinely has no need for public CA chains. |
| WT-13 | P2 | c99, docs | The port's real dependency surface is ISO C99 plus POSIX.1-2008, not ISO C99 alone. Sockets (SOCK_DGRAM, sendto/recvmsg), poll, clock_gettime and close are POSIX, not C99; only printf/memcpy/int64_t and friends are ISO C99. | Verified by compiling a probe: UDP bind, IPv6 sockets and CLOCK_MONOTONIC all work, and the file compiles clean under -std=c99 -pedantic -Werror. "100% C99 libc" in practice means C99 plus Unix, which is exactly what the port needs. |
| WT-14 | P2 | c99, config | Feature-test-macro discipline is a real portability hazard, and it bit the probe. Defining _POSIX_C_SOURCE=200809L on this host removed INADDR_LOOPBACK, so the same source that compiles bare fails with the macro set. A different libc will have different defaults. | Verified on the development host. The port needs one documented feature-test policy fixed up front, or every platform will disagree about which symbols exist. |
| WT-15 | P2 | c99, transport | The UDP socket surface must be specified, not assumed. Two things are needed from the target's stack: datagram receive that reports truncation (recvmsg with MSG_TRUNC in msg_flags — recvfrom does not report it on this host), and IPv6 support if ::1 is to work. | Verified on the development host: recvmsg reports truncation while recvfrom silently truncates, and this is already the behaviour the Swift fix relies on. Whether the target's stack does the same must be confirmed before Phase 4. |
Items with the area c99 belong to the port described under Implementation Status; the rest are the Swift package.
| Ref | Severity | Area | Item | Outcome |
|---|---|---|---|---|
| WT-7 | — | c99, config | It was undecided whether the target has any libc, which would have changed Phase 0 substantially: without one, every buffer becomes caller-provided and the arena strategy shapes nearly every API. |
Answered by the operator: the target has a full C99 libc. Allocations, memcpy, snprintf and the integer types are available, so the plan's configurable-allocator interface stands as written and Phase 0 is a build-flag difference rather than a portability project. |
| WT-8 | — | c99, transport | The OS's own datagram and entropy interfaces were unknown, so the transport backend boundary could not be frozen. | Answered by the operator: the target has a full, tested, Unix-compatible network stack, so the UDP runtime can use a POSIX socket backend instead of a bespoke NIC API. The remaining specifics are tracked as WT-15. |
| WT-16 | P0 | transport | A timed-out accept left a continuation parked at the head of the connection queue, so the next accepted connection was handed to it and dropped. Reachable from the documented accept loop; every connection arriving slower than the one-second default timeout was lost. | The queue tags each waiter with an identity so an abandoned caller removes its own entry, and shutdown now wakes parked accepts instead of leaving them to time out. Two regression tests, both of which fail before the change. |
| WT-17 | P0 | transport | The first fix for the entry above dropped the abandoned continuation instead of resuming it. withTimeout abandons its operation task rather than awaiting it, so the task stayed suspended on that continuation; the Swift runtime reported a leaked continuation on every timed-out accept, turning a lost connection into an unbounded task leak. Found by adversarial review of the fix itself. |
The waiter is resumed with CancellationError so the abandoned task unwinds; its one-shot gate discards the value. A cancelled accept also releases a connection that arrives after it gave up. Three consecutive full-suite runs report zero continuation-misuse warnings. |
| WT-18 | P3 | transport |
QUICFrame could encode a zero-length connection ID that its own decoder had just been taught to reject. |
The encoder now enforces the same 1...20 range, so the library cannot produce a frame it would refuse to read. |
| WT-19 | P1 | transport |
connectSession cancelled its inbound handler task only when the peer rejected the session, so on every other failure the handler kept the connection — and its socket — alive. |
A defer guard cancels it on every path that does not hand back a session. Not claimed as a confirmed leak fix: the descriptor-growth symptom was not reproducible here. |
| WT-20 | P2 | transport | The connection-ID store did not track the retire_prior_to watermark, so a sequence below a received watermark could be named again and re-activated, making a retired connection ID usable. RFC 9000 section 19.15 retires it permanently. |
The store tracks the high-water mark and records any sequence below it as retired, emitting a RETIRE_CONNECTION_ID only when it actually held that connection ID. Regression test fails before the change. |
| WT-21 | P0 | transport | The first attempt at releasing a connection that arrives after its accept was abandoned put the cancellation check in acceptSession. withTimeout runs the queue wait in a separate task, so that check read the wrong task's state and was unreachable; the race stayed open and the connection's handler kept it alive. Also caught by adversarial review of the fix. |
The check moved into dequeue, the task that observes the cancellation, on both its paths. |
| WT-22 | P1 | cli-cd | The previous round left the strict swift format lint gate failing, so CI would not have built. |
A test's tuple array did not match the formatter; fixed with the project's own formatter command. Worth recording as a reminder that the blocking gates must be run locally before a push. |
| WT-23 | P3 | api | An explicit maxConcurrentConnections was silently ignored when a non-default admission policy was supplied: the override was gated on admission == .default, so .publicFacing with maxConcurrentConnections: 1 produced a 256-connection listener, and an out-of-range value was neither applied nor refused. |
The override is now tied to the default argument value rather than the policy, so precedence is the same for every policy, and the value is validated like the policy's own field. |
| WT-24 | P2 | transport | The long-header decoder accepted a cleared Fixed Bit and non-zero reserved bits, and the Retry decoder additionally accepted a zero-length token. The short-header path already enforced the Fixed Bit, so the two disagreed about what a valid packet is. | All three checks added, with regression tests. The Retry Integrity Tag remains unimplemented — a structural gap, recorded below. |
| WT-25 | P3 | transport | An oversized datagram was silently truncated: recvfrom returns a short payload with a valid source and no indication that data was lost. |
Now uses recvmsg and rejects the datagram when the kernel sets MSG_TRUNC. The obvious fix does not work — passing MSG_TRUNC to recvfrom is ignored on this platform, since the flag is reported on output rather than honoured on input. |
| WT-26 | P2 | transport | No transport-parameter value validation existed: ack_delay_exponent > 20, max_udp_payload_size < 1200, active_connection_id_limit < 2, max_ack_delay >= 2^14, a stateless_reset_token that is not 16 bytes, a zero max_datagram_frame_size, and connection-ID parameters outside 1...20 were all accepted where RFC 9000 section 18.2 requires TRANSPORT_PARAMETER_ERROR. |
Added as an opt-in validated() rather than tightening decode, which is also the TLS-extension parser and must keep accepting unmodelled parameters. One test covers all eight rules. |
| WT-27 | P1 | transport | The CRYPTO reassembly ceiling counted bytes already consumed, making it a lifetime cap rather than a bound on bytes waiting for a gap: after a large handshake a peer could no longer deliver a legitimate NewSessionTicket or KeyUpdate. | The reassembler tracks a consumed watermark and counts only bytes at or above it, memoised so a large frame is not quadratic. An earlier attempt at this appeared to produce an intermittent SIGBUS, which turned out to be stale incremental build state — only a clean rebuild is trustworthy after a series of failed builds. The regression test takes 0.02s. |
| WT-28 | P1 | transport | DATAGRAM and PING frames were classified as retransmittable, so a caller resending retransmittableFrames re-sent unreliable datagrams and delivered them twice (RFC 9221 section 5.2, RFC 9000 section 13.3). |
Both excluded, with regression tests. |
| WT-29 | P2 | transport |
NEW_CONNECTION_ID accepted a zero-length connection ID, which RFC 9000 section 19.15 makes a FRAME_ENCODING_ERROR. |
The length must now be 1...20, with boundary tests at both ends. |
| WT-30 | P2 | transport |
HKDF-Expand accepted output above 255 * HashLen, wrapping the block counter and returning bytes that are not the RFC 5869 stream. |
Capped at 8,160 bytes for SHA-256, with a regression test. |
| WT-31 | P2 | cli-cd |
--max-sessions was unbounded, so an oversized value committed memory until the process was killed, and --listen exited zero after serving nothing. |
Bounded at 4,096; serving no sessions now exits non-zero. |
| #20 | P1 | transport | A PKCS#12 bundle with explicit elliptic-curve parameters terminated the process with an uncatchable NSException instead of throwing. |
SecPKCS12Import now runs behind an Objective-C exception boundary in the new WebTransportSecurityShim target, so listen(on:) throws a WebTransportNetworkRuntimeError naming the cause. Regression fixtures under Swift/Tests/WebTransportNetworkRuntimeTests/Resources/. |
| #21 | P1 | api, docs |
.certificateChain accepted only Apple's private-key representation while the parameter name invited DER, and the failure was a bare OSStatus -50. |
Documented the required encoding on the case and on makePrivateKey, with a worked example; the error now names the expected form, byte length, and rejected encodings; [[Getting Started |
| #22 | P2 | transport | Reject explicit-parameter bundles before the import rather than after it raises. | Closed as not planned, reasoning recorded on the issue: the certificate bag is encrypted, so a pre-flight check needs PKCS#12 PBE decryption and an ASN.1 walk in the trust path, and it would be narrower than the exception boundary it was meant to replace. Revisit if macOS exposes the certificate without going through the raising import, or if the usually hedge proves misleading in practice. |
| WT-32 | P2 | api |
makeFromPKCS12 used as! to read kSecImportItemIdentity. |
Replaced with a type-identifier check and a justified unsafeDowncast; as? SecIdentity is not usable because the compiler treats a conditional CoreFoundation downcast as infallible. |
| WT-33 | P2 | transport | The public error spliced Security.framework's raw exception reason into invalidTransport. |
Reason dropped from the public error, per the [[Security and Trust |
| WT-34 | P2 | docs | Issue #20's own diagnosis was inaccurate in three places: the library does not call SecKeyCopyExternalRepresentation on the failing path, the exception is synchronous rather than raised through an async continuation, and the trigger is explicit curve parameters rather than EC keys as such. |
Corrected on the issue and in the fix commit message, so the resolution is not later misread as "EC keys are unsupported". |
| #2–#13 | — | config, transport, tests, docs | The v1.0 readiness programme: planning labels and milestones, README installation guidance, documentation entrypoint, client/server example, MVP connection lifecycle, coverage guidance, error-handling audit, security review, CI diagnostics, setup and troubleshooting docs, interoperability evidence, and the release checklist. | Closed 10 August 2026. |
| Item | When |
|---|---|
| Re-run the remote interoperability matrix | Before any release that touches the CONNECT path, settings, or QPACK |
| Re-check the Apple Feedback Assistant report FB24354509 | Open as of 16 August 2026; see [[Known Limitations |
| Confirm release artifacts reproduce | Every release, via Swift/build-release-apple-silicon.sh
|
| Investigate the Thread Sanitizer suite's sensitivity to host load | Resolved: there was nothing to fix. The CLIProcess and ReleaseArtifacts suites orchestrate subprocesses against wall-clock timeouts that TSan's slowdown exceeds, so they report as timeouts rather than races. CI and [[Development and Testing |
| Revisit the identity error contract if macOS changes behaviour | The #20 regression test pins macOS 26 behaviour, where the import raises rather than returning a status. A change there should be a deliberate decision, not a silent test failure. |