| Index: net/quic/quic_sent_packet_manager.cc
|
| diff --git a/net/quic/quic_sent_packet_manager.cc b/net/quic/quic_sent_packet_manager.cc
|
| index 8a198dbb5cf7fddf3dfbd4a7f3b41f8b00a81d5a..3f9c222b0c8fae74ac69721c1b8f7cedd1297215 100644
|
| --- a/net/quic/quic_sent_packet_manager.cc
|
| +++ b/net/quic/quic_sent_packet_manager.cc
|
| @@ -138,8 +138,17 @@ void QuicSentPacketManager::SetFromConfig(const QuicConfig& config) {
|
| }
|
| if (config.HasReceivedConnectionOptions() &&
|
| ContainsQuicTag(config.ReceivedConnectionOptions(), kRENO)) {
|
| + if (ContainsQuicTag(config.ReceivedConnectionOptions(), kBYTE)) {
|
| + send_algorithm_.reset(SendAlgorithmInterface::Create(
|
| + clock_, &rtt_stats_, kRenoBytes, stats_, initial_congestion_window_));
|
| + } else {
|
| + send_algorithm_.reset(SendAlgorithmInterface::Create(
|
| + clock_, &rtt_stats_, kReno, stats_, initial_congestion_window_));
|
| + }
|
| + } else if (config.HasReceivedConnectionOptions() &&
|
| + ContainsQuicTag(config.ReceivedConnectionOptions(), kBYTE)) {
|
| send_algorithm_.reset(SendAlgorithmInterface::Create(
|
| - clock_, &rtt_stats_, kReno, stats_, initial_congestion_window_));
|
| + clock_, &rtt_stats_, kCubicBytes, stats_, initial_congestion_window_));
|
| }
|
| EnablePacing();
|
|
|
|
|