Skip to content

XQUIC v1.9.9

Latest

Choose a tag to compare

@cherylsy cherylsy released this 04 Dec 07:53
ce82a32

Changes:
1.[+] MoQT: Add draft-22 endpoints over native QUIC and a resource-bounded relay. Support publication, subscription, namespace discovery, object forwarding, and FETCH and Fill from retained history. Bind endpoints and relay peers to WebTransport and forward across both transports. Add LOC and MSF codecs, a browser camera relay demo, and interoperability tests. Contributor: @Yanmei-Liu (#1172, #1187, #1186)

2.[+] WebTransport: Negotiate draft-02 for Chrome interoperability. Clients can add custom headers before sending CONNECT. Servers can attach application context during acceptance and release it on final close. Contributor: @WeiStaring, @Yanmei-Liu (#1284, #1320)

3.[~] TLS / interoperability: Correct old-key retention and discard across successive 1-RTT key updates. Fall back to a full handshake when a ticket cannot resume after server ticket-key rotation. Load the TLS backend's default CA trust paths for clients and send an X25519 key share from the interop client. Contributor: @dreamwind1985, @pylaterreur, @Yanmei-Liu (#975, #982, #1080, #1313, #1186)

4.[~] QUIC / HTTP/3 validation: Strengthen handshake packet, multipath, NAT rebinding, and FEC validation and resource limits. Fix unidirectional stream credit replenishment and FIN notification for empty DATA. Bound QPACK decoding work, correct QUIC version parsing, and omit tokens from server Initial packets. Contributor: @dreamwind1985, @pylaterreur, @Yanmei-Liu (#963, #997, #1288)

5.[~] Multipath / recovery: Correct path timers, closing-path handling, and connection ID management. Remove lost PMTU probes from flight without counting them as congestion losses. Fix BBRv2 fast convergence, receive timestamp ranges, FEC SID space reservation, and ACK_MP repair classification. Deduplicate zero DATAGRAM MSS notifications and avoid unnecessary path lookups. Contributor: @mp0rta, @pylaterreur, @w453y, @cherylsy (#983, #984, #994, #996, #998, #999, #1000, #1067, #1243, #1302)

6.[~] Connection lifecycle / memory: Correct error handling and cleanup during engine and connection creation, queuing, and teardown. Reject overlong peer addresses and fix pool alignment, empty-data FIN handling, hash table initialization, integer operations, and QUIC-LB CID cipher buffer handling. Contributor: @pylaterreur, @penglei0, @lurker-Chen, @mp0rta (#991, #1001, #1010, #1014, #1024, #1054, #1055, #1062, #1065, #1070, #1301, #1306)

7.[~] HTTP/3 / QPACK: Correct dynamic-table eviction, growth, and indexing and handle name-only insertions. Clean up request streams that exceed the QPACK blocking limit and fix resource cleanup when QPACK initialization fails. Contributor: @pylaterreur, @Yanmei-Liu, @lurker-Chen (#1028, #1035, #1052, #1071, #1182, #1225, #1227)

8.[~] WebTransport lifecycle: Check the context needed to initialize SETTINGS and release aborted streams once. Preserve MoQT close codes during binding teardown and send the CLOSE capsule before aborting streams. Contributor: @pylaterreur, @Yanmei-Liu (#1174, #1195, #1186)

9.[~] Demos and test clients: Respond to HTTP/3 demo requests whose FIN arrives on its own. Exit the demo client on name resolution failure. Save test-client session files on exit and use wall-clock time to check session age. Contributor: @pylaterreur (#1018, #1019, #1145, #1309)

10.[~] Logging and qlog: Correct log formats and buffer lengths for TLS, HTTP/3, MoQ, and test endpoints and record long IPv6 addresses and CIDs in full. Lower BBR's skipped RTT variance compensation message to debug level. Contributor: @pylaterreur, @Yanmei-Liu (#981, #1009, #1012, #1013, #1029, #1038, #1039, #1060, #1061, #1149, #1310)

11.[=] CI / development workflow: Move Ubuntu CI to GitHub-hosted runners and set a 30-minute timeout for the Test step. Consolidate development and PR review rules, add PR branch, commit, and changed-code style checks, strengthen CUnit result validation, and move endpoint test implementations under tests/. Contributor: @Yanmei-Liu, @pylaterreur, @cherylsy (#989, #1290, #1319)

12.[=] Unit tests / FEC builds: Fix test memory handling, QPACK prefix sizes, close-reason strings, and assertions when logging is disabled. Build and test XOR, Packet Mask, and Reed–Solomon independently and initialize the FEC parameters used by endpoint tests. Contributor: @pylaterreur, @mp0rta, @Yanmei-Liu (#992, #1027, #1057, #1068, #1069, #1075, #1178, #1297)

13.[=] Endpoint tests: Wait for the expected events in key-update and HTTP/3 close cases and check that the server accepted the token. Correct uninitialized test-endpoint data and repeated path socket binding, and prevent servers from previous cases from contaminating logs. Contributor: @pylaterreur (#1020, #1021, #1066, #1138, #1162, #1298, #1308)

14.[=] Documentation and cleanup: Document the Ubuntu CUnit prerequisite, refresh the DingTalk group QR code, fix log spelling and BBR header dependencies, and remove an unused internal STREAM-frame helper. Contributor: @yangfurong, @Yanmei-Liu, @pylaterreur (#1033, #1059, #1175, #1181, #1312)

Compatibility Notes:

  • WebTransport API migration. Replace xqc_wt_client_open_session_with_protocols() with xqc_wt_client_open_session_with_headers(). Call xqc_wt_connect_headers_add() before returning to the event loop or invoking another engine-driving API. Update the server's webtransport_will_create_session_notify callback to take xqc_wt_session_t * as its first argument, then rebuild and relink. Returning 1 guarantees one final close notification for session-context cleanup, even if CONNECT fails to open. #1320
  • WebTransport versions. Draft-02 is negotiated with the peer. Keep the configured maximum at draft-07 or draft-16. Strict APIs that require an application protocol require draft-16. To negotiate an application protocol with draft-02 or draft-07 peers, opt into the _compat APIs and require the peer to select one of the offered protocols. Draft-07 uses ordinary resets with best-effort association. Use draft-16 when relying on reliable prefix resets. #1284 · #1186
  • MoQT build and integration. Draft-22 uses the separate xqc_moqt_* APIs and requires XQC_ENABLE_MOQ. For WebTransport, also enable XQC_ENABLE_WEBTRANSPORT and negotiate moqt-22 on CONNECT. Existing xqc_moq_* APIs retain draft-05 behavior. Draft-22 session resumption is pending. API documentation · #1186
  • Client trust store and handshakes. The TLS backend loads default CAs from the filesystem, with SSL_CERT_FILE and SSL_CERT_DIR overrides. Deployments that verify certificates should make the required CAs available on the host or in the container. Client engine creation fails if the backend reports a trust-path initialization error. After server ticket-key rotation, clients that cannot resume perform a full handshake. Applications should handle early-data rejection. API documentation · #1186 · #1313
  • Peer validation and application notifications. Peers must follow multipath negotiation and HTTP/3/QPACK input and resource limits. Traffic that exceeds these limits or violates the protocol can be discarded or rejected. The public QPACK error enum adds XQC_QPACK_DYNAMIC_TABLE_EXCESSIVE_LOAD, moving XQC_QPACK_ERR_MAX from 916 to 917. A zero DATAGRAM MSS notification is now sent once per period of unavailability, with a new notification if DATAGRAM becomes available and later becomes unavailable again. #963 · #1243
  • Test script paths. Existing validation commands and case registrations remain available. Automation that references internal paths under case_test/ directly should use tests/case_test/. #1319