mirror of
https://github.com/SagerNet/sing.git
synced 2025-04-05 12:57:38 +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))
|
w.readFrom = M.SocksaddrFrom(netip.AddrFrom16(fromAddr.Addr), uint16(fromAddr.Port))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if readN == 0 {
|
|
||||||
w.readErr = io.EOF
|
|
||||||
}
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue