| Index: net/quic/quic_stream_factory.cc
|
| diff --git a/net/quic/quic_stream_factory.cc b/net/quic/quic_stream_factory.cc
|
| index 858f1cb93f0744e9960bd084dcd0393f8b1b04b4..c365a0ed01975ae1f74d2732f8b3ac2cb9b2100a 100644
|
| --- a/net/quic/quic_stream_factory.cc
|
| +++ b/net/quic/quic_stream_factory.cc
|
| @@ -568,6 +568,7 @@ QuicStreamFactory::QuicStreamFactory(
|
| bool delay_tcp_race,
|
| int max_server_configs_stored_in_properties,
|
| bool close_sessions_on_ip_change,
|
| + bool disable_quic_on_timeout_with_open_streams,
|
| int idle_connection_timeout_seconds,
|
| bool migrate_sessions_on_network_change,
|
| const QuicTagVector& connection_options)
|
| @@ -624,6 +625,8 @@ QuicStreamFactory::QuicStreamFactory(
|
| has_initialized_data_(false),
|
| task_runner_(nullptr),
|
| weak_factory_(this) {
|
| + if (disable_quic_on_timeout_with_open_streams)
|
| + threshold_timeouts_with_open_streams_ = 1;
|
| DCHECK(transport_security_state_);
|
| DCHECK(http_server_properties_);
|
| crypto_config_.set_user_agent_id(user_agent_id);
|
|
|