Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(835)

Unified Diff: net/quic/congestion_control/tcp_cubic_sender_packets.cc

Issue 2124093002: Deprecate --quic_sslr_limit_reduction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@126331456
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/quic/congestion_control/tcp_cubic_sender_packets.cc
diff --git a/net/quic/congestion_control/tcp_cubic_sender_packets.cc b/net/quic/congestion_control/tcp_cubic_sender_packets.cc
index 33960dff76abe0d4428ab14ddbe2d6c4799aaa41..0e35297e3f39d54d4278af3c17d8ce88f85704c8 100644
--- a/net/quic/congestion_control/tcp_cubic_sender_packets.cc
+++ b/net/quic/congestion_control/tcp_cubic_sender_packets.cc
@@ -125,8 +125,7 @@ void TcpCubicSenderPackets::OnPacketLost(QuicPacketNumber packet_number,
// TODO(jri): Separate out all of slow start into a separate class.
if (slow_start_large_reduction_ && InSlowStart()) {
DCHECK_LT(1u, congestion_window_);
- if (FLAGS_quic_sslr_limit_reduction &&
- congestion_window_ >= 2 * initial_tcp_congestion_window_) {
+ if (congestion_window_ >= 2 * initial_tcp_congestion_window_) {
min_slow_start_exit_window_ = congestion_window_ / 2;
}
congestion_window_ = congestion_window_ - 1;

Powered by Google App Engine
This is Rietveld 408576698