Repository navigation
Project Tracker
André Borchert edited this page Sep 11, 2026
·
377 revisions
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, after the PKCS#12 identity-diagnostics changes.
- A row leaves Open work when the change is merged to
mainand the documentation is updated, and moves to Resolved. -
Refis the GitHub issue number where one exists. Work discovered while fixing something else is recorded here first, then filed as an issue. - 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.
| Ref | Severity | Area | Item | Notes |
|---|---|---|---|---|
| — | P1 | transport | The CRYPTO reassembly ceiling counts bytes the decoder has already consumed, so it acts as a lifetime cap on every CRYPTO byte a connection carries rather than a bound on bytes waiting for a gap. A peer that completes a large handshake can then no longer deliver a legitimate post-handshake message such as a NewSessionTicket or KeyUpdate, because the ceiling is already reached. | Fix written and measured: track a consumed watermark and count only bytes at or above it. Held back because the surrounding change could not be shown to be stable in this environment — repeated full-suite runs died with an intermittent SIGBUS in the test helper that also appeared on unrelated trees. It needs to be re-landed and soaked on a quiet machine before it is trusted. |
| — | P2 | transport | Transport parameter values are never validated against RFC 9000 section 18.2. decode checks framing and duplicates only, so 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, and an absent initial_source_connection_id are all accepted where a TRANSPORT_PARAMETER_ERROR is required. |
Not reachable from the shipped path, which uses Network.framework's QUIC rather than this codec, but the decoder is a public product. |
| — | P2 | transport | The connection-ID store does not track the retire_prior_to watermark, so a sequence number below a previously received watermark can be re-activated and used. RFC 9000 section 19.15 requires a RETIRE_CONNECTION_ID for any sequence below it. |
Reproduced. |
| — | P2 | transport | Several header-level MUSTs are unchecked in the long-header decoder: the Fixed Bit, the reserved bits, and a zero-length Retry token, which RFC 9000 sections 17.2 and 17.2.5 require be discarded. The Retry Integrity Tag is also never computed or verified. | Reproduced for the first three; the tag is a structural gap. |
| — | P3 | transport |
recvfrom is called without MSG_TRUNC, so a datagram larger than the caller's maximumBytes is silently truncated and returned as a short payload with no indication. |
Only reachable with an explicitly small buffer. |
| — | P3 | api |
listen(maxConcurrentConnections:) is silently ignored when a non-default admission policy is configured; the policy's value wins with no diagnostic. |
Precedence should be documented or resolved at the call site. |
| — | — | C99, CPP |
C99/ and CPP/ remain planning skeletons with no protocol implementation. |
A standing scope statement rather than a scheduled task: status must remain "planned" until runnable code and equivalent evidence exist, and there is no plan to start either port. See [[Implementation Status |
Nothing else is outstanding. Everything below was open earlier and is now closed; it is kept so the reasoning is not lost and the same ground is not covered twice.
| Ref | Severity | Area | Item | Outcome |
|---|---|---|---|---|
| — | 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. |
| — | 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. |
| — | 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. |
| — | 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. |
| — | 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. |
| — | 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. |
| — | 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. |
| — | 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. |
| — | 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. |
| — | 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 |
| — | 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. |