diff options
author | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-27 03:51:20 +0000 |
---|---|---|
committer | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-27 03:51:20 +0000 |
commit | 1ad77dc23b51198e2b0ce4ba0f8a55635b25474c (patch) | |
tree | 2898a3bfd758ae1f5e3583acdc349dcb88b68ae6 /net/http/http_stream_factory_impl.cc | |
parent | 55e31b02ec039da2a348c618f5683ea2af686287 (diff) | |
download | chromium_src-1ad77dc23b51198e2b0ce4ba0f8a55635b25474c.zip chromium_src-1ad77dc23b51198e2b0ce4ba0f8a55635b25474c.tar.gz chromium_src-1ad77dc23b51198e2b0ce4ba0f8a55635b25474c.tar.bz2 |
SPDY - Change all tests to use SPDY/2.1 protocol. Made
changes to SPDY code to support enabling or disabling
flow_control independent of NPN protocol negotiated.
TEST=network unit tests
R=wtc
Review URL: http://codereview.chromium.org/9252029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119360 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_stream_factory_impl.cc')
-rw-r--r-- | net/http/http_stream_factory_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_stream_factory_impl.cc b/net/http/http_stream_factory_impl.cc index 9ef81b1..2e817f6 100644 --- a/net/http/http_stream_factory_impl.cc +++ b/net/http/http_stream_factory_impl.cc @@ -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. @@ -156,7 +156,7 @@ bool HttpStreamFactoryImpl::GetAlternateProtocolRequestFor( DCHECK_LE(NPN_SPDY_1, alternate.protocol); DCHECK_GT(NUM_ALTERNATE_PROTOCOLS, alternate.protocol); - if (alternate.protocol != NPN_SPDY_2) + if (alternate.protocol < NPN_SPDY_2) return false; // Some shared unix systems may have user home directories (like |