default next protos

pull/255/merge
Darien Raymond 8 years ago
parent c74ca91bd3
commit 2a52ae9e96
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -26,7 +26,7 @@ func (v *Config) BuildCertificates() []tls.Certificate {
func (v *Config) GetTLSConfig() *tls.Config { func (v *Config) GetTLSConfig() *tls.Config {
config := &tls.Config{ config := &tls.Config{
ClientSessionCache: globalSessionCache, ClientSessionCache: globalSessionCache,
//NextProtos: []string{"http/2.0", "spdy/3", "http/1.1"}, NextProtos: []string{"http/1.1"},
} }
if v == nil { if v == nil {
return config return config

Loading…
Cancel
Save