This commit is contained in:
H1JK
2023-02-19 12:15:28 +08:00
parent 5bfad04b41
commit 4f27911659
8 changed files with 386 additions and 52 deletions

View File

@@ -2,6 +2,7 @@ package vless
import (
"context"
"errors"
"net"
tlsC "github.com/Dreamacro/clash/component/tls"
@@ -9,6 +10,10 @@ import (
xtls "github.com/xtls/go"
)
var (
ErrNotTLS13 = errors.New("XTLS Vision based on TLS 1.3 outer connection")
)
type XTLSConfig struct {
Host string
SkipCertVerify bool