summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_client_socket.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/ssl_client_socket.cc')
-rw-r--r--net/socket/ssl_client_socket.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/socket/ssl_client_socket.cc b/net/socket/ssl_client_socket.cc
index 7f23258..478ef18 100644
--- a/net/socket/ssl_client_socket.cc
+++ b/net/socket/ssl_client_socket.cc
@@ -26,6 +26,8 @@ NextProto SSLClientSocket::NextProtoFromString(
return kProtoSPDY2;
} else if (proto_string == "spdy/3") {
return kProtoSPDY3;
+ } else if (proto_string == "spdy/3.1") {
+ return kProtoSPDY31;
} else {
return kProtoUnknown;
}
@@ -42,6 +44,8 @@ const char* SSLClientSocket::NextProtoToString(NextProto next_proto) {
return "spdy/2";
case kProtoSPDY3:
return "spdy/3";
+ case kProtoSPDY31:
+ return "spdy/3.1";
default:
break;
}