From 6a72feb8b58a0116e699a842d2f7497b0611de9c Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Wed, 17 Nov 2021 17:56:24 +0800 Subject: [PATCH] [Fix]Vless tls must not be true --- adapter/outbound/vless.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/adapter/outbound/vless.go b/adapter/outbound/vless.go index 0298dd88..441eed31 100644 --- a/adapter/outbound/vless.go +++ b/adapter/outbound/vless.go @@ -292,9 +292,9 @@ func (uc *vlessPacketConn) ReadFrom(b []byte) (int, net.Addr, error) { } func NewVless(option VlessOption) (*Vless, error) { - if !option.TLS { - return nil, fmt.Errorf("TLS must be true with vless") - } + //if !option.TLS { + // return nil, fmt.Errorf("TLS must be true with vless") + //} var addons *vless.Addons if option.Network != "ws" && len(option.Flow) >= 16 {