Repository navigation
Changes
- Add negotiated per-stream flow control and stream reset, isolating slow streams from other traffic on the same multiplexed connection.
- Propagate stream-opening cancellation and preserve RPC handler context errors.
- Wake blocked reads/writes reliably when deadlines expire; provide local ForceClose and cancellation for blocked dialogue writes.
- Decouple heartbeat progress from data backpressure and serialize heartbeat teardown.
- Apply admission backpressure while reset notifications drain: pause new streams at the high watermark instead of closing the entire transport; resume admission below the low watermark. Existing streams retain their data path.
- Update dependencies. Minimum Go version is 1.25.
Compatibility
Flow-control/reset features are negotiated; legacy peers retain the legacy behavior. The reset-backpressure fix adds no new packet format. The reset queue threshold is an admission watermark, not a hard global memory or stream quota. Genuine transport write failures/timeouts still close the connection.
Validation
- Focused reset-pressure race test repeated 10 times, short race suite and vet passed.
- Frontier SDK → Frontier → Edge tests at 512/1024 concurrency: 7,300,895 operations, zero failures and no reconnects in the final measured samples.
- Real macOS TUN → MASQUE Entry → Frontier → Edge deployment verification: 19,199 HTTP/TCP requests and five rounds of domain/CIDR TCP/UDP/ICMP probes passed; no container restarts during the 120-second verification. These are finite test results, not production capacity guarantees.
- CI: 11 checks passed. Code Coverage failed with
go: no such tool "covdata"in the runner toolchain; this release does not claim that coverage job passed.
Known limitations
The separate graceful endpoint Close issue (#124) and RetryEnd RPC registration issue (#117) remain tracked; this release does not claim to resolve every open issue. See #126 for the reset-backpressure change and its evidence.
This is a Go library release; consume github.com/singchia/geminio@v1.3.0. Source archives are attached automatically by GitHub.