Merge pull request #276 from iamqizhao/alpn

Switch ALPN/NPN to advertise only h2
This commit is contained in:
Qi Zhao
2015-08-03 10:57:08 -07:00

View File

@ -51,7 +51,7 @@ import (
var ( var (
// alpnProtoStr are the specified application level protocols for gRPC. // alpnProtoStr are the specified application level protocols for gRPC.
alpnProtoStr = []string{"h2", "h2-14", "h2-15", "h2-16"} alpnProtoStr = []string{"h2"}
) )
// Credentials defines the common interface all supported credentials must // Credentials defines the common interface all supported credentials must