| Index: net/quic/core/quic_connection.cc
|
| diff --git a/net/quic/core/quic_connection.cc b/net/quic/core/quic_connection.cc
|
| index 3e82f28a1ee0140d632174034025817774b85f14..91bf216ba0766b8d6a3002c7c6046d7dcd352894 100644
|
| --- a/net/quic/core/quic_connection.cc
|
| +++ b/net/quic/core/quic_connection.cc
|
| @@ -374,7 +374,10 @@ void QuicConnection::SetFromConfig(const QuicConfig& config) {
|
| ack_decimation_delay_ = kShortAckDecimationDelay;
|
| }
|
| if (config.HasClientSentConnectionOption(k5RTO, perspective_)) {
|
| - close_connection_after_five_rtos_ = true;
|
| + if (perspective_ == Perspective::IS_CLIENT ||
|
| + !FLAGS_quic_only_5rto_client_side) {
|
| + close_connection_after_five_rtos_ = true;
|
| + }
|
| }
|
| }
|
|
|
|
|