mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-05-19 16:38:16 +08:00
Fix: grpc connection panic
This commit is contained in:
parent
764e469ada
commit
5842c94b17
@ -81,6 +81,8 @@ func (g *Conn) Read(b []byte) (n int, err error) {
|
|||||||
g.buf = nil
|
g.buf = nil
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
} else if g.response == nil {
|
||||||
|
return 0, net.ErrClosed
|
||||||
}
|
}
|
||||||
|
|
||||||
buf := make([]byte, 5)
|
buf := make([]byte, 5)
|
||||||
|
Loading…
Reference in New Issue
Block a user