From b834502dfa460d601ff6779ccb663776bd68899c Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Sun, 15 Nov 2026 03:18:30 -0800 Subject: [PATCH] fix(qmux): return stopped-stream receive credit, qmux 0.5.4 and @moq/qmux 0.3.5 (backport) Moves qmux to 0.5.4 and requires @moq/qmux ^0.3.5. A stream dropped or cancelled with unread data now returns that data's connection credit (moq-dev/web-transport#507), so a session no longer stalls after about one connection window of cancelled groups. Bumps @moq/net to 0.4.8: it also carries the unpublished Hop ID and GOAWAY backports merged since 0.4.7. Co-Authored-By: Claude Sonnet 5.5 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- bun.lock | 6 +++--- js/net/package.json | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 494d92f4f52..1578166026f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6849,9 +6849,9 @@ dependencies = [ [[package]] name = "qmux" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dad25762c86aa1eaf3ef0b660fd83773fe5c961e8b3c3a7a6815f8c155338061" +checksum = "0d45c162b00339eb9eb8203013971845c50e9981d3043bd0d6aca9707809ba76" dependencies = [ "bytes", "futures", diff --git a/Cargo.toml b/Cargo.toml index 7a320d152a0..4d7fbba728d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -203,7 +203,7 @@ objc2-screen-capture-kit = "0.3.2" object_store = { version = "0.14", default-features = false } percent-encoding = "2" pollster = "1.0" -qmux = { version = "0.5.3", default-features = false } +qmux = { version = "0.5.4", default-features = false } rand = "0.10.1" # default-features off so each consumer picks its own TLS backend and body # features; nothing here wants the default native-tls stack. diff --git a/bun.lock b/bun.lock index 29f3bba0332..c5856ce3505 100644 --- a/bun.lock +++ b/bun.lock @@ -227,10 +227,10 @@ }, "js/net": { "name": "@moq/net", - "version": "0.4.7", + "version": "0.4.8", "dependencies": { "@moq/pattern": "workspace:^", - "@moq/qmux": "^0.3.3", + "@moq/qmux": "^0.3.5", "@moq/signals": "workspace:*", "async-mutex": "^0.5.0", "bowser": "^2.14.1", @@ -707,7 +707,7 @@ "@moq/publish": ["@moq/publish@workspace:js/publish"], - "@moq/qmux": ["@moq/qmux@0.3.3", "", { "dependencies": { "@moq/web-socket-stream": "^0.1.1" } }, "sha512-Ez1GCVwpyNGB0eWvhKIXOjXrfRlMdmO0lpJ7gqInZFzsOsYTyML0WRgh24Itczp9Kev0CXsUA/K+XrGs1dRKUA=="], + "@moq/qmux": ["@moq/qmux@0.3.5", "", { "dependencies": { "@moq/web-socket-stream": "^0.1.1" } }, "sha512-3cPnK8nR8gooXo/kGDUSoZJjTozJBavXFYkggwpPB7RFRSOaXpGmEhpqt04obX508w7ZEzvbaaB5iw0wNSRDGA=="], "@moq/room": ["@moq/room@workspace:js/room"], diff --git a/js/net/package.json b/js/net/package.json index a1cef65c32c..9bfc9d05760 100644 --- a/js/net/package.json +++ b/js/net/package.json @@ -1,7 +1,7 @@ { "name": "@moq/net", "type": "module", - "version": "0.4.7", + "version": "0.4.8", "description": "The networking layer for Media over QUIC: real-time pub/sub with built-in caching, fan-out, and prioritization.", "license": "(MIT OR Apache-2.0)", "repository": { @@ -22,7 +22,7 @@ }, "dependencies": { "@moq/pattern": "workspace:^", - "@moq/qmux": "^0.3.3", + "@moq/qmux": "^0.3.5", "@moq/signals": "workspace:*", "async-mutex": "^0.5.0", "bowser": "^2.14.1"