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

Unified Diff: net/socket/ssl_client_socket.cc

Issue 265823019: Update HTTP/2 NPN/ALPN tokens to "h2-12" to advertise draft 12 support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« no previous file with comments | « net/http/http_server_properties.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket.cc
diff --git a/net/socket/ssl_client_socket.cc b/net/socket/ssl_client_socket.cc
index 588ded4ca2ce76c33afab5b67200e9d793f8ff90..1b2fe144304955bd0c423aca96d90226c45d7f4a 100644
--- a/net/socket/ssl_client_socket.cc
+++ b/net/socket/ssl_client_socket.cc
@@ -32,8 +32,8 @@ NextProto SSLClientSocket::NextProtoFromString(
return kProtoSPDY3;
} else if (proto_string == "spdy/3.1") {
return kProtoSPDY31;
- } else if (proto_string == "h2-11") {
- // This is the HTTP/2 draft 11 identifier. For internal
+ } else if (proto_string == "h2-12") {
+ // This is the HTTP/2 draft 12 identifier. For internal
// consistency, HTTP/2 is named SPDY4 within Chromium.
return kProtoSPDY4;
} else if (proto_string == "quic/1+spdy/3") {
@@ -55,9 +55,9 @@ const char* SSLClientSocket::NextProtoToString(NextProto next_proto) {
case kProtoSPDY31:
return "spdy/3.1";
case kProtoSPDY4:
- // This is the HTTP/2 draft 11 identifier. For internal
+ // This is the HTTP/2 draft 12 identifier. For internal
// consistency, HTTP/2 is named SPDY4 within Chromium.
- return "h2-11";
+ return "h2-12";
case kProtoQUIC1SPDY3:
return "quic/1+spdy/3";
case kProtoUnknown:
« no previous file with comments | « net/http/http_server_properties.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698