Skip to content

fix(webtransport): harden session I/O - #1167

Merged
ryanfowler merged 1 commit into
mainfrom
fix/webtransport-io-correctness
Aug 30, 2026
Merged

fix(webtransport): harden session I/O#1167
ryanfowler merged 1 commit into
mainfrom
fix/webtransport-io-correctness

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • handle partial and zero-progress WebTransport stream writes without silently truncating data
  • make stream and datagram cancellation preserve the initiating error and stop pending input cleanly
  • report output write failures precisely and include the current QUIC limit for oversized datagrams
  • add race-focused coverage for cancellation, short I/O, error precedence, and terminal flush failures

Validation

  • go test -v -parallel 8 ./...
  • go test -race -count=100 ./internal/wt
  • staticcheck ./...
  • go build .
  • go mod tidy && go mod verify
  • three independent review passes; final pass found no actionable issues

@ryanfowler
ryanfowler merged commit 888d788 into main Aug 30, 2026
12 checks passed
@ryanfowler
ryanfowler deleted the fix/webtransport-io-correctness branch August 30, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant