Index: net/quic/quic_protocol.h |
diff --git a/net/quic/quic_protocol.h b/net/quic/quic_protocol.h |
index 548755e215543876980802b42ea663190b9b98bd..770a0f702ed5ada9fb69d81555ea62b26354a0b8 100644 |
--- a/net/quic/quic_protocol.h |
+++ b/net/quic/quic_protocol.h |
@@ -68,11 +68,14 @@ const QuicPacketCount kInitialCongestionWindowInsecure = 20; |
// Minimum size of initial flow control window, for both stream and session. |
const uint32 kMinimumFlowControlSendWindow = 16 * 1024; // 16 KB |
-// Minimum size of the CWND, in packets, when doing bandwidth resumption. |
+// Minimum and maximum size of the CWND, in packets, |
+// when doing bandwidth resumption. |
const QuicPacketCount kMinCongestionWindowForBandwidthResumption = 10; |
+const QuicPacketCount kMaxCongestionWindowForBandwidthResumption = 200; |
-// Maximum size of the CWND, in packets, for TCP congestion control algorithms. |
-const QuicPacketCount kMaxTcpCongestionWindow = 200; |
+// Maximum number of tracked packets before the connection will be closed. |
+// This effectively limits the max CWND to a smaller value than this. |
+const QuicPacketCount kMaxTrackedPackets = 5000; |
// Default size of the socket receive buffer in bytes. |
const QuicByteCount kDefaultSocketReceiveBuffer = 256 * 1024; |