default next protos

pull/255/merge
Darien Raymond 2016-12-31 23:22:26 +01:00
parent c74ca91bd3
commit 2a52ae9e96
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

@ -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