mirror of
https://github.com/SagerNet/sing.git
synced 2025-04-03 11:57:39 +03:00
Fix rerturn EOF in syscallPacketReadWaiter
This commit is contained in:
parent
9be7806bab
commit
be60138936
1 changed files with 0 additions and 3 deletions
|
@ -226,9 +226,6 @@ func (w *syscallPacketReadWaiter) InitializeReadWaiter(newBuffer func() *buf.Buf
|
|||
w.readFrom = M.SocksaddrFrom(netip.AddrFrom16(fromAddr.Addr), uint16(fromAddr.Port))
|
||||
}
|
||||
}
|
||||
if readN == 0 {
|
||||
w.readErr = io.EOF
|
||||
}
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue