1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-26 09:25:23 +00:00

increase kcp ack frequency

This commit is contained in:
Darien Raymond 2016-11-08 00:35:14 +01:00
parent b0d009664a
commit 7a09fcdc2f
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -102,7 +102,7 @@ func (this *AckList) Flush(current uint32, rto uint32) {
if this.nextFlush[i] <= current {
seg.PutNumber(this.numbers[i])
seg.PutTimestamp(this.timestamps[i])
this.nextFlush[i] = current + rto/2
this.nextFlush[i] = current + rto/4
}
}
if seg.Count > 0 {