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

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

Issue 1138443003: Land Recent QUIC Changes until 05/13/2015 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile error fixes Created 5 years, 7 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
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | net/quic/crypto/crypto_protocol.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/send_algorithm_interface.cc
diff --git a/net/quic/congestion_control/send_algorithm_interface.cc b/net/quic/congestion_control/send_algorithm_interface.cc
index bc3ee8fa9e5072eba0174a3126b266818ff7bb57..77d8900f4c6ef699129e310725e3b8575e5d4fb6 100644
--- a/net/quic/congestion_control/send_algorithm_interface.cc
+++ b/net/quic/congestion_control/send_algorithm_interface.cc
@@ -21,10 +21,8 @@ SendAlgorithmInterface* SendAlgorithmInterface::Create(
QuicConnectionStats* stats,
QuicPacketCount initial_congestion_window) {
const QuicPacketCount max_congestion_window =
- FLAGS_quic_limit_max_cwnd_to_receive_buffer
- ? (kDefaultSocketReceiveBuffer * kUsableRecieveBufferFraction) /
- kDefaultTCPMSS
- : kMaxTcpCongestionWindow;
+ (kDefaultSocketReceiveBuffer * kUsableRecieveBufferFraction) /
+ kDefaultTCPMSS;
switch (congestion_control_type) {
case kCubic:
return new TcpCubicSender(clock, rtt_stats, false /* don't use Reno */,
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | net/quic/crypto/crypto_protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698