Commit a5e002ea authored by Ryan Hamilton's avatar Ryan Hamilton Committed by Commit Bot

Use CurrentSupportedVersions instead of AllSupportedVersions in the QUIC...

Use CurrentSupportedVersions instead of AllSupportedVersions in the QUIC client to avoid using v99 by default.

Change-Id: Ie45d10894460c6fb92342a38ecf019016ce0be72
Reviewed-on: https://chromium-review.googlesource.com/1115968Reviewed-by: default avatarZhongyi Shi <zhongyi@chromium.org>
Commit-Queue: Zhongyi Shi <zhongyi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570605}
parent f46e4b70
......@@ -253,7 +253,7 @@ int main(int argc, char* argv[]) {
// Build the client, and try to connect.
quic::QuicServerId server_id(url.host(), url.EffectiveIntPort(),
net::PRIVACY_MODE_DISABLED);
quic::ParsedQuicVersionVector versions = quic::AllSupportedVersions();
quic::ParsedQuicVersionVector versions = quic::CurrentSupportedVersions();
if (FLAGS_quic_version != -1) {
versions.clear();
versions.push_back(quic::ParsedQuicVersion(
......
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