- Adjusted probe test interval(IKCP_PROBE_INIT) from 7s to 500ms.
This will mitigate stall status in the one-way downloading scenario.
Eg: In previous release, Sink(download simulation) stucks for 7 seconds sometimes , due to this probe issue. - Fixed '--ratelimit' command line parameter in server.(json not affected).
PREVIOUS RELEASE:
2025/12/05 18:34:44 beginning tests, encryption:salsa20, fec:10/3
goos: linux
goarch: amd64
pkg: github.com/xtaci/kcp-go/v5
cpu: AMD Ryzen 9 5950X 16-Core Processor
BenchmarkSinkSpeed4K ( -===- STUCKED for PROBING -===- )
BenchmarkSinkSpeed4K-32 10000 707878 ns/op 5.79 MB/s 2634 B/op 50 allocs/op )
BenchmarkSinkSpeed64K
BenchmarkSinkSpeed64K-32 12092 101034 ns/op 648.65 MB/s 29559 B/op 742 allocs/op
BenchmarkSinkSpeed256K
BenchmarkSinkSpeed256K-32 1174 899321 ns/op 582.98 MB/s 231434 B/op 5848 allocs/op
BenchmarkSinkSpeed1M
BenchmarkSinkSpeed1M-32 766 1746129 ns/op 600.51 MB/s 462676 B/op 11675 allocs/op
PASS
ok github.com/xtaci/kcp-go/v5 11.911s
CURRENT RELEASE ( -===- NO STUCKING AT ALL -===- ):
2025/12/05 18:33:02 beginning tests, encryption:salsa20, fec:10/3
goos: linux
goarch: amd64
pkg: github.com/xtaci/kcp-go/v5
cpu: AMD Ryzen 9 5950X 16-Core Processor
BenchmarkSinkSpeed4K
BenchmarkSinkSpeed4K-32 187250 8985 ns/op 455.87 MB/s 2130 B/op 49 allocs/op
BenchmarkSinkSpeed64K
BenchmarkSinkSpeed64K-32 12631 138741 ns/op 472.36 MB/s 29527 B/op 741 allocs/op
BenchmarkSinkSpeed256K
BenchmarkSinkSpeed256K-32 1320 868459 ns/op 603.70 MB/s 231347 B/op 5850 allocs/op
BenchmarkSinkSpeed1M
BenchmarkSinkSpeed1M-32 676 1719631 ns/op 609.77 MB/s 462660 B/op 11671 allocs/op
PASS
ok github.com/xtaci/kcp-go/v5 8.857s
Build Info:
$ go version
go version go1.25.4 linux/amd64
$ date
Sat Dec 6 11:57:41 AM CST 2025
$ ./build-release.sh
Setting GO111MODULE to on
0ed3e17ea1e7f4883018171d8105a9b1fe8d9b38 kcptun-darwin-amd64-20251205.tar.gz
09702f464f6619f553be3aef2184aa33be931f26 kcptun-darwin-arm64-20251205.tar.gz
35cb1e44493847557cee46ec221153d9dc041320 kcptun-freebsd-amd64-20251205.tar.gz
99b6c96842090cd9e6342a82d44ec3c44e2b7496 kcptun-linux-386-20251205.tar.gz
43a436866ea4f9bba1cebdf9624d6abc08204ca6 kcptun-linux-amd64-20251205.tar.gz
e1ccf84dec499c091367b7b7c7c89270c7be878e kcptun-linux-arm5-20251205.tar.gz
f4941755219a4167f9df8b25c782d09cf8e6216e kcptun-linux-arm6-20251205.tar.gz
a4005af78ae4f7cf15bd159aea146028eebe3b84 kcptun-linux-arm64-20251205.tar.gz
e145ef212f2ffed349d16ed4c4f0b64e89ef8590 kcptun-linux-arm7-20251205.tar.gz
91cfc9cc1b3a1a93f465b87f6c7e322e33dda4c9 kcptun-linux-loong64-20251205.tar.gz
2131917d3e81e6f26b7b9162fc23e95b56120e88 kcptun-linux-mips-20251205.tar.gz
a829cbac4fc54d64779c86e57754c4752bf29629 kcptun-linux-mipsle-20251205.tar.gz
8879f052dee77c25777b5adda0b2a496a3ca4ba3 kcptun-windows-386-20251205.tar.gz
8d64161fc1a615a8301413a1c3136ef035b948c9 kcptun-windows-amd64-20251205.tar.gz
ac500314b0b0cdaadc3ad8edef2bb5c7ffda7b8a kcptun-windows-arm64-20251205.tar.gz
What's Changed
- Bump golang.org/x/crypto from 0.44.0 to 0.45.0 by @dependabot[bot] in #1015
- Bump actions/checkout from 4 to 6 by @dependabot[bot] in #1017
Full Changelog: v20251124...v20251205