mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-01-09 10:49:35 +08:00
fix: vless NeedHandshake mistake
This commit is contained in:
parent
6b4e46af72
commit
e60ce44e7f
@ -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…
x
Reference in New Issue
Block a user