fix: vless NeedHandshake mistake

This commit is contained in:
wwqgtxx 2023-02-27 09:46:00 +08:00
parent 0b56fc7598
commit 78100aa963

View File

@ -433,10 +433,10 @@ func (vc *Conn) Upstream() any {
func (vc *Conn) NeedHandshake() bool { func (vc *Conn) NeedHandshake() bool {
select { select {
case <-vc.handshake: case <-vc.handshake:
return true return false
default: default:
} }
return false return true
} }
func (vc *Conn) IsXTLSVisionEnabled() bool { func (vc *Conn) IsXTLSVisionEnabled() bool {