mirror of
https://github.com/fumiama/water.git
synced 2026-06-06 10:40:28 +08:00
fix err judge
This commit is contained in:
@@ -401,6 +401,7 @@ RETRY:
|
||||
}
|
||||
w.s.ReleaseReceivePacket(packet)
|
||||
w.rate.update(uint64(packetSize))
|
||||
return n, nil
|
||||
case windows.ERROR_NO_MORE_ITEMS:
|
||||
if !shouldSpin || uint64(nanotime()-start) >= spinloopDuration {
|
||||
w.mu.Unlock()
|
||||
|
||||
Reference in New Issue
Block a user