diff --git a/adapter/outbound/vless.go b/adapter/outbound/vless.go index 0ff816eb..01d161ec 100644 --- a/adapter/outbound/vless.go +++ b/adapter/outbound/vless.go @@ -128,7 +128,7 @@ func (v *Vless) StreamConn(c net.Conn, metadata *C.Metadata) (net.Conn, error) { } default: // handle TLS And XTLS - c, err = v.streamTLSOrXTLSConn(c, true) + c, err = v.streamTLSOrXTLSConn(c, false) } if err != nil { diff --git a/go.mod b/go.mod index c48b2fb8..8ac7381b 100644 --- a/go.mod +++ b/go.mod @@ -40,6 +40,3 @@ require ( golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect ) -replace ( - github.com/xtls/go v0.0.0-20201118062508-3632bf3b7499 => github.com/Clash-Mini/go v0.0.0-20211204194702-64aa679557f7 -) \ No newline at end of file