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