Skip to content

Add a congestionWindowInBytes method to Envoy::Network::Connection#20105

Merged
mattklein123 merged 8 commits intoenvoyproxy:mainfrom
wu-bin:cwnd2
Mar 1, 2022
Merged

Add a congestionWindowInBytes method to Envoy::Network::Connection#20105
mattklein123 merged 8 commits intoenvoyproxy:mainfrom
wu-bin:cwnd2

Conversation

@wu-bin
Copy link
Copy Markdown
Contributor

@wu-bin wu-bin commented Feb 24, 2022

Add a congestionWindowInBytes() method to Envoy::Network::Connection.

  • QUIC connections get the congestion window from QuicSentPacketManager::GetCongestionWindowInBytes().
  • TCP connections get the congestion window from tcp_info.tcpi_snd_cwnd.

Also Implement Envoy::Network::Connection::lastRoundTripTime() for QUIC connections.

Commit Message: Add a congestionWindowInBytes method to Envoy::Network::Connection
Risk Level: Low
Testing: Unit test
Platform Specific Features: Getting congestion window for TCP connections may not be supported by all platforms.

Loading
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.

3 participants