Commit 3273b3cf authored by jar@chromium.org's avatar jar@chromium.org

Default to disabling consistent port suggestion in QUIC

Allow strike register to ensure we have high probability of 0-RTT connects,
and proceed toward using Connection ID to track connections.
r=rch
BUG=376108

Review URL: https://codereview.chromium.org/294903011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272548 0039d316-1c4b-4281-b951-d872f2087c98
parent 8ef08fee
......@@ -1111,24 +1111,7 @@ bool IOThread::ShouldEnableQuicPortSelection(
if (command_line.HasSwitch(switches::kEnableQuicPortSelection))
return true;
#if defined(OS_WIN)
chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel();
// Avoid picking ports (which might induce a security dialog) when we have a
// beta or stable release. Allow in all other cases, including when we do a
// developer build (CHANNEL_UNKNOWN).
if (channel == chrome::VersionInfo::CHANNEL_STABLE ||
channel == chrome::VersionInfo::CHANNEL_BETA) {
// TODO(grt) bug=329255: Detect presence of rule on Windows that allows us
// to do port selection without inducing a dialog.
// When we have an API to see if the administrative security manager will
// allow port selection without a security dialog, we may return true if
// we're sure there will be no security dialog.
return false;
}
return true;
#else
return true;
#endif
return false; // Default to disabling port selection on all channels.
}
bool IOThread::ShouldEnableQuicPacing(const CommandLine& command_line,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment