| Index: chrome/browser/io_thread.cc
|
| diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
|
| index 595c01b03d5777bca0797ecce8051c57e56ba4fc..7c5b498568b5a1f56539ac280ba418380604d325 100644
|
| --- a/chrome/browser/io_thread.cc
|
| +++ b/chrome/browser/io_thread.cc
|
| @@ -1038,6 +1038,8 @@ void IOThread::InitializeNetworkSessionParamsFromGlobals(
|
| ¶ms->enable_quic_time_based_loss_detection);
|
| globals.quic_always_require_handshake_confirmation.CopyToIfSet(
|
| ¶ms->quic_always_require_handshake_confirmation);
|
| + globals.quic_disable_connection_pooling.CopyToIfSet(
|
| + ¶ms->quic_disable_connection_pooling);
|
| globals.enable_quic_port_selection.CopyToIfSet(
|
| ¶ms->enable_quic_port_selection);
|
| globals.quic_max_packet_length.CopyToIfSet(¶ms->quic_max_packet_length);
|
| @@ -1153,6 +1155,8 @@ void IOThread::ConfigureQuicGlobals(
|
| quic_trial_params));
|
| globals->quic_always_require_handshake_confirmation.set(
|
| ShouldQuicAlwaysRequireHandshakeConfirmation(quic_trial_params));
|
| + globals->quic_disable_connection_pooling.set(
|
| + ShouldQuicDisableConnectionPooling(quic_trial_params));
|
| globals->enable_quic_port_selection.set(
|
| ShouldEnableQuicPortSelection(command_line));
|
| globals->quic_connection_options =
|
| @@ -1337,6 +1341,14 @@ bool IOThread::ShouldQuicAlwaysRequireHandshakeConfirmation(
|
| }
|
|
|
| // static
|
| +bool IOThread::ShouldQuicDisableConnectionPooling(
|
| + const VariationParameters& quic_trial_params) {
|
| + return LowerCaseEqualsASCII(
|
| + GetVariationParam(quic_trial_params, "disable_connection_pooling"),
|
| + "true");
|
| +}
|
| +
|
| +// static
|
| size_t IOThread::GetQuicMaxPacketLength(
|
| const CommandLine& command_line,
|
| base::StringPiece quic_trial_group,
|
|
|