mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-02-23 06:23:16 +08:00
fix: vless NeedHandshake mistake
This commit is contained in:
parent
0b56fc7598
commit
78100aa963
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user