From ffe2c5d7aa710ab4766cd15fef95b923f9d2fc5c Mon Sep 17 00:00:00 2001 From: iamqizhao Date: Wed, 27 May 2015 17:33:26 -0700 Subject: [PATCH] add h2 into ALPN protocol --- credentials/credentials.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/credentials/credentials.go b/credentials/credentials.go index eb8b90e0..63c42a29 100644 --- a/credentials/credentials.go +++ b/credentials/credentials.go @@ -54,7 +54,7 @@ import ( var ( // 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