| Index: net/quic/core/congestion_control/tcp_cubic_sender_packets.cc
|
| diff --git a/net/quic/core/congestion_control/tcp_cubic_sender_packets.cc b/net/quic/core/congestion_control/tcp_cubic_sender_packets.cc
|
| index 0a5d2656394232985fa926a6782b4f3cd049db2c..2a54db6b19d444f06e0fe0369b17e3122d41ec67 100644
|
| --- a/net/quic/core/congestion_control/tcp_cubic_sender_packets.cc
|
| +++ b/net/quic/core/congestion_control/tcp_cubic_sender_packets.cc
|
| @@ -46,6 +46,16 @@ TcpCubicSenderPackets::TcpCubicSenderPackets(
|
|
|
| TcpCubicSenderPackets::~TcpCubicSenderPackets() {}
|
|
|
| +void TcpCubicSenderPackets::SetFromConfig(const QuicConfig& config,
|
| + Perspective perspective) {
|
| + TcpCubicSenderBase::SetFromConfig(config, perspective);
|
| + if (FLAGS_quic_fix_cubic_convex_mode &&
|
| + config.HasReceivedConnectionOptions() &&
|
| + ContainsQuicTag(config.ReceivedConnectionOptions(), kCCVX)) {
|
| + cubic_.SetFixConvexMode(true);
|
| + }
|
| +}
|
| +
|
| void TcpCubicSenderPackets::SetCongestionWindowFromBandwidthAndRtt(
|
| QuicBandwidth bandwidth,
|
| QuicTime::Delta rtt) {
|
|
|