From e60ce44e7fa1aaf03446855d1a3870ec20224d4c Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Mon, 27 Feb 2023 09:46:00 +0800 Subject: [PATCH] fix: vless NeedHandshake mistake --- transport/vless/conn.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transport/vless/conn.go b/transport/vless/conn.go index 82450cf1..53dc7c85 100644 --- a/transport/vless/conn.go +++ b/transport/vless/conn.go @@ -433,10 +433,10 @@ func (vc *Conn) Upstream() any { func (vc *Conn) NeedHandshake() bool { select { case <-vc.handshake: - return true + return false default: } - return false + return true } func (vc *Conn) IsXTLSVisionEnabled() bool {