mirror of https://github.com/v2ray/v2ray-core
add back flush timeout
parent
3be9519ed4
commit
31fbb62d0f
|
@ -113,7 +113,7 @@ func (v *AckList) Flush(current uint32, rto uint32) {
|
||||||
}
|
}
|
||||||
seg.PutNumber(v.numbers[i])
|
seg.PutNumber(v.numbers[i])
|
||||||
seg.PutTimestamp(v.timestamps[i])
|
seg.PutTimestamp(v.timestamps[i])
|
||||||
timeout := rto / 4
|
timeout := rto / 2
|
||||||
if timeout < 20 {
|
if timeout < 20 {
|
||||||
timeout = 20
|
timeout = 20
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue