From 2a52ae9e96ffb10b3940c16a079b719cf9612195 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Sat, 31 Dec 2016 23:22:26 +0100 Subject: [PATCH] default next protos --- transport/internet/tls/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/internet/tls/config.go b/transport/internet/tls/config.go index e7f0e0ca..62be94b8 100644 --- a/transport/internet/tls/config.go +++ b/transport/internet/tls/config.go @@ -26,7 +26,7 @@ func (v *Config) BuildCertificates() []tls.Certificate { func (v *Config) GetTLSConfig() *tls.Config { config := &tls.Config{ ClientSessionCache: globalSessionCache, - //NextProtos: []string{"http/2.0", "spdy/3", "http/1.1"}, + NextProtos: []string{"http/1.1"}, } if v == nil { return config