1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-29 18:45:23 +00:00

add back flush timeout

This commit is contained in:
Darien Raymond 2016-11-29 17:12:09 +01:00
parent 3be9519ed4
commit 31fbb62d0f
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -113,7 +113,7 @@ func (v *AckList) Flush(current uint32, rto uint32) {
}
seg.PutNumber(v.numbers[i])
seg.PutTimestamp(v.timestamps[i])
timeout := rto / 4
timeout := rto / 2
if timeout < 20 {
timeout = 20
}