diff options
author | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-30 02:16:35 +0000 |
---|---|---|
committer | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-30 02:16:35 +0000 |
commit | dae22c5cddc8f1ebdfe77e66ebbf834255f94319 (patch) | |
tree | f949e3011b81a4b1234c90311a074fda63706e9c /net/http/http_network_layer.cc | |
parent | d420c31e107cd932582a4a8add0ce2676e4b52da (diff) | |
download | chromium_src-dae22c5cddc8f1ebdfe77e66ebbf834255f94319.zip chromium_src-dae22c5cddc8f1ebdfe77e66ebbf834255f94319.tar.gz chromium_src-dae22c5cddc8f1ebdfe77e66ebbf834255f94319.tar.bz2 |
Bump the SPDY protocol version to version 2.
Remove "http1.1" and "spdy" from the NPN advertisement string (the
proper values are "http/1.1" and "spdy/2", which were included redundantly).
BUG=50550
TEST=existing
Review URL: http://codereview.chromium.org/3044034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54258 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_layer.cc')
-rw-r--r-- | net/http/http_network_layer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_network_layer.cc b/net/http/http_network_layer.cc index 30feddc..74e364a 100644 --- a/net/http/http_network_layer.cc +++ b/net/http/http_network_layer.cc @@ -149,7 +149,7 @@ void HttpNetworkLayer::EnableSpdy(const std::string& mode) { // it presumedly has a better understanding of which protocol we should // use, therefore the rest of the ordering here is not important. static const char kNpnProtosFull[] = - "\x08http/1.1\x07http1.1\x06spdy/1\x04spdy"; + "\x08http/1.1\x06spdy/2"; // No spdy specified. static const char kNpnProtosHttpOnly[] = "\x08http/1.1\x07http1.1"; |