From aa46e4ea0532c76c3611ac9fd77eec3b3ca45d82 Mon Sep 17 00:00:00 2001 From: v2ray Date: Thu, 30 Jun 2016 22:19:57 +0200 Subject: [PATCH] extend ack timeout --- transport/internet/kcp/receiving.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/internet/kcp/receiving.go b/transport/internet/kcp/receiving.go index 342712ea2..5c8c72e54 100644 --- a/transport/internet/kcp/receiving.go +++ b/transport/internet/kcp/receiving.go @@ -204,7 +204,7 @@ func (this *ACKList) Flush() bool { seg.Count++ seg.NumberList = append(seg.NumberList, this.numbers[i]) seg.TimestampList = append(seg.TimestampList, this.timestamps[i]) - this.nextFlush[i] = current + 50 + this.nextFlush[i] = current + 100 if seg.Count == 128 { break }