diff --git a/transport/internet/kcp/sending.go b/transport/internet/kcp/sending.go index 6a8ca78b4..efe0cd61f 100644 --- a/transport/internet/kcp/sending.go +++ b/transport/internet/kcp/sending.go @@ -108,10 +108,7 @@ func (this *SendingWindow) Flush() bool { } current := this.kcp.current - resent := uint32(this.kcp.fastresend) - if this.kcp.fastresend <= 0 { - resent = 0xffffffff - } + resent := this.kcp.fastresend lost := false segSent := false