v2ray 9 vuotta sitten
vanhempi
commit
490f77b4a0
1 muutettua tiedostoa jossa 1 lisäystä ja 4 poistoa
  1. 1 4
      transport/internet/kcp/sending.go

+ 1 - 4
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