Fix rerturn EOF in syscallPacketReadWaiter

This commit is contained in:
世界 2023-05-17 20:44:04 +08:00
parent 9be7806bab
commit be60138936
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -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
}
}