mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-15 15:00:57 +00:00
parent
a6c0c02e0d
commit
8752f80595
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ func newStream(id uint32, sess *Session) *Stream {
|
|||
// Read implements net.Conn
|
||||
func (s *Stream) Read(b []byte) (n int, err error) {
|
||||
n, err = s.pipeR.Read(b)
|
||||
if s.dieErr != nil {
|
||||
if n == 0 && s.dieErr != nil {
|
||||
err = s.dieErr
|
||||
}
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue