diff options
author | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-09 18:08:09 +0000 |
---|---|---|
committer | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-09 18:08:09 +0000 |
commit | 07c234afb79da58678041d152d15c547077ee93a (patch) | |
tree | 953d1b51d32a6c7d4120701a4ae834898b469a08 /net/http/http_stream_factory.cc | |
parent | 54ea217d2acacd72d8e0c8cd9ee0f0e5e51d1a95 (diff) | |
download | chromium_src-07c234afb79da58678041d152d15c547077ee93a.zip chromium_src-07c234afb79da58678041d152d15c547077ee93a.tar.gz chromium_src-07c234afb79da58678041d152d15c547077ee93a.tar.bz2 |
Remove SPDY 2.1 support.
BUG=121919
Review URL: http://codereview.chromium.org/10005041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131383 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_stream_factory.cc')
-rw-r--r-- | net/http/http_stream_factory.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/net/http/http_stream_factory.cc b/net/http/http_stream_factory.cc index aff2d09..2d87bc7 100644 --- a/net/http/http_stream_factory.cc +++ b/net/http/http_stream_factory.cc @@ -169,20 +169,10 @@ void HttpStreamFactory::EnableNpnHttpOnly() { } // static -void HttpStreamFactory::EnableFlowControl() { - std::vector<std::string> next_protos; - next_protos.push_back("http/1.1"); - next_protos.push_back("spdy/2"); - next_protos.push_back("spdy/2.1"); - SetNextProtos(next_protos); -} - -// static void HttpStreamFactory::EnableNpnSpdy3() { std::vector<std::string> next_protos; next_protos.push_back("http/1.1"); next_protos.push_back("spdy/2"); - next_protos.push_back("spdy/2.1"); next_protos.push_back("spdy/3"); SetNextProtos(next_protos); } @@ -204,8 +194,6 @@ void HttpStreamFactory::SetNextProtos(const std::vector<std::string>& value) { enabled_protocols_[NPN_SPDY_1] = true; } else if (value[i] == "spdy/2") { enabled_protocols_[NPN_SPDY_2] = true; - } else if (value[i] == "spdy/2.1") { - enabled_protocols_[NPN_SPDY_21] = true; } else if (value[i] == "spdy/3") { enabled_protocols_[NPN_SPDY_3] = true; } |