Skip to content

Track bytesSentOverhead separately per WebTransport spec#3471

Open
jesup wants to merge 1 commit intousers/jesup/sendgroup_sendorder_trackingfrom
users/jesup/stats_overhead
Open

Track bytesSentOverhead separately per WebTransport spec#3471
jesup wants to merge 1 commit intousers/jesup/sendgroup_sendorder_trackingfrom
users/jesup/stats_overhead

Conversation

@jesup
Copy link
Copy Markdown
Member

@jesup jesup commented Mar 16, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 16, 2026 04:49
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates WebTransport session statistics to track bytesSentOverhead separately, aligning the implementation with the WebTransport stats model by separating payload bytes from framing overhead.

Changes:

  • Add bytes_sent_overhead to WebTransportSessionStats.
  • Record overhead bytes emitted by the WebTransport datagram queue and expose them via session stats.
  • Wire the new overhead accounting through the Protocol abstraction for WebTransport sessions.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
neqo-http3/src/features/extended_connect/webtransport_session.rs Adds a session stats counter and protocol hook to record sent datagram overhead bytes.
neqo-http3/src/features/extended_connect/stats.rs Extends the public WebTransport session stats struct with bytes_sent_overhead.
neqo-http3/src/features/extended_connect/session.rs Plumbs overhead bytes returned from datagram queue processing into protocol/session stats.

Comment thread neqo-http3/src/features/extended_connect/stats.rs Outdated
Comment thread neqo-http3/src/features/extended_connect/stats.rs
Comment thread neqo-http3/src/features/extended_connect/session.rs
@larseggert larseggert added the needs-rebase PR needs rebasing before it can be merged. label Apr 8, 2026
@jesup jesup force-pushed the users/jesup/sendgroup_sendorder_tracking branch from d6cb526 to 48ece96 Compare May 1, 2026 14:43
@jesup
Copy link
Copy Markdown
Member Author

jesup commented May 1, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-rebase PR needs rebasing before it can be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants