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

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

Issue 2132623002: Landing Recent QUIC changes until 2016-07-02 02:45 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing comment about RPCs 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/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 821beb755b7e9d4f8ebb71e8e69a0b9d06a078fe..205e15c6d7eae7b6354d58bbcdb36dfede150b2c 100644
--- a/net/quic/congestion_control/send_algorithm_interface.cc
+++ b/net/quic/congestion_control/send_algorithm_interface.cc
@@ -20,12 +20,7 @@ SendAlgorithmInterface* SendAlgorithmInterface::Create(
CongestionControlType congestion_control_type,
QuicConnectionStats* stats,
QuicPacketCount initial_congestion_window) {
- QuicPacketCount max_congestion_window =
- (kDefaultSocketReceiveBuffer * kConservativeReceiveBufferFraction) /
- kDefaultTCPMSS;
- if (FLAGS_quic_ignore_srbf) {
- max_congestion_window = kDefaultMaxCongestionWindowPackets;
- }
+ QuicPacketCount max_congestion_window = kDefaultMaxCongestionWindowPackets;
switch (congestion_control_type) {
case kCubic:
return new TcpCubicSenderPackets(
« no previous file with comments | « net/quic/congestion_control/send_algorithm_interface.h ('k') | net/quic/congestion_control/send_algorithm_simulator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698