Prefer spdy/3 to spdy/2 in spdyd

This commit is contained in:
Tatsuhiro Tsujikawa 2012-05-12 21:19:38 +09:00
parent 9b22165072
commit ca5ccae927
1 changed files with 2 additions and 2 deletions

View File

@ -936,9 +936,9 @@ int SpdyServer::run()
next_proto.second = 7; next_proto.second = 7;
} else { } else {
proto_list[0] = 6; proto_list[0] = 6;
memcpy(&proto_list[1], "spdy/2", 6); memcpy(&proto_list[1], "spdy/3", 6);
proto_list[7] = 6; proto_list[7] = 6;
memcpy(&proto_list[8], "spdy/3", 6); memcpy(&proto_list[8], "spdy/2", 6);
next_proto.first = proto_list; next_proto.first = proto_list;
next_proto.second = sizeof(proto_list); next_proto.second = sizeof(proto_list);
} }