From 075e4a60c320e600109f463f4a58d0ef779f4e41 Mon Sep 17 00:00:00 2001 From: iamqizhao Date: Fri, 31 Jul 2015 14:21:24 -0700 Subject: [PATCH] Switch ALPN/NPN to advertise only h2 --- credentials/credentials.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/credentials/credentials.go b/credentials/credentials.go index 0c2b24c0..c1a331e8 100644 --- a/credentials/credentials.go +++ b/credentials/credentials.go @@ -51,7 +51,7 @@ import ( var ( // 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