Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(584)

Unified Diff: net/http/http_stream_factory.cc

Issue 9390027: SPDY - trun off spdy/2.1 by default. It could be enabled (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« net/http/http_network_layer.cc ('K') | « net/http/http_network_layer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_factory.cc
===================================================================
--- net/http/http_stream_factory.cc (revision 121685)
+++ net/http/http_stream_factory.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -82,7 +82,9 @@
AlternateProtocol protocol = ALTERNATE_PROTOCOL_BROKEN;
// We skip NPN_SPDY_1 here, because we've rolled the protocol version to 2.
- for (int i = NPN_SPDY_2; i < NUM_ALTERNATE_PROTOCOLS; ++i) {
+ // TODO(rtenneti): add support for SPDY/2.1 (use next_protos_ to determine the
+ // protocol).
+ for (int i = NPN_SPDY_2; i <= NPN_SPDY_2; ++i) {
if (port_protocol_vector[1] == kAlternateProtocolStrings[i])
protocol = static_cast<AlternateProtocol>(i);
}
« net/http/http_network_layer.cc ('K') | « net/http/http_network_layer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698