mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-18 07:17:32 -05:00
default next protos
This commit is contained in:
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
Block a user