add h2 into ALPN protocol

This commit is contained in:
iamqizhao
2015-05-27 17:33:26 -07:00
parent 5f91fa6426
commit ffe2c5d7aa

View File

@ -54,7 +54,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-14", "h2-15", "h2-16"} alpnProtoStr = []string{"h2", "h2-14", "h2-15", "h2-16"}
) )
// Credentials defines the common interface all supported credentials must // Credentials defines the common interface all supported credentials must