1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00

default next protos

This commit is contained in:
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

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