gfe-relnote: In QUIC, adjust cwnd when doing bandwidth resumption in BBR. Protected by gfe2_reloadable_flag_quic_fix_bbr_cwnd_in_bandwidth_resumption.
PiperOrigin-RevId: 245482154
Change-Id: I0bfa7b414dc369925ab55438894b1579f91d0459
diff --git a/quic/core/quic_sent_packet_manager.cc b/quic/core/quic_sent_packet_manager.cc
index ad5f297..21dbc14 100644
--- a/quic/core/quic_sent_packet_manager.cc
+++ b/quic/core/quic_sent_packet_manager.cc
@@ -267,9 +267,11 @@
if (!rtt.IsZero()) {
SetInitialRtt(rtt);
}
+ const QuicByteCount old_cwnd = send_algorithm_->GetCongestionWindow();
send_algorithm_->AdjustNetworkParameters(bandwidth, rtt);
if (debug_delegate_ != nullptr) {
- debug_delegate_->OnAdjustNetworkParameters(bandwidth, rtt);
+ debug_delegate_->OnAdjustNetworkParameters(
+ bandwidth, rtt, old_cwnd, send_algorithm_->GetCongestionWindow());
}
}