mirror of https://github.com/v2ray/v2ray-core
default next protos
parent
c74ca91bd3
commit
2a52ae9e96
|
@ -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…
Reference in New Issue