| Index: net/quic/quic_server_session.cc
|
| diff --git a/net/quic/quic_server_session.cc b/net/quic/quic_server_session.cc
|
| index acd5ceb10848fc68821baa6c4e68c448a43dba89..4545b08768b2a2bc330bdf0421fddcdcaccc5d2b 100644
|
| --- a/net/quic/quic_server_session.cc
|
| +++ b/net/quic/quic_server_session.cc
|
| @@ -47,10 +47,14 @@ void QuicServerSession::OnConfigNegotiated() {
|
| // bandwidth resumption.
|
| const CachedNetworkParameters* cached_network_params =
|
| crypto_stream_->previous_cached_network_params();
|
| + const bool max_bandwidth_resumption =
|
| + ContainsQuicTag(config()->ReceivedConnectionOptions(), kBWMX);
|
| if (cached_network_params != nullptr &&
|
| - ContainsQuicTag(config()->ReceivedConnectionOptions(), kBWRE) &&
|
| + (ContainsQuicTag(config()->ReceivedConnectionOptions(), kBWRE) ||
|
| + max_bandwidth_resumption) &&
|
| cached_network_params->serving_region() == serving_region_) {
|
| - connection()->ResumeConnectionState(*cached_network_params);
|
| + connection()->ResumeConnectionState(*cached_network_params,
|
| + max_bandwidth_resumption);
|
| }
|
|
|
| if (FLAGS_enable_quic_fec &&
|
|
|