Skip to content

Releases

v5.7.10

Choose a tag to compare

@xtaci xtaci released this 27 Nov 08:39

Changes since v5.7.3:

Features

  • Added ResetRTO() to trigger retransmission eligibility after connectivity is restored (#344).
  • Added the kcp_no_snmp build tag to disable statistics collection (#368).
  • Added source-address preservation for wildcard UDP listeners on supported platforms.

Performance

  • Replaced FEC auto-tuning sample arrays and sorting with a packed 512-position bitmap window. On 64-bit platforms, auto-tuning storage drops from 4,152 to 152 bytes per decoder.
  • Reduced allocations in buffer pooling, connection lookup, FEC shard handling, and KCP segment queues (#376, #382, #384, #387).
  • Switched SM4 to emmansun/gmsm for hardware-accelerated implementations where available (#375).

Reliability

  • Improved deadline enforcement and cleanup, scheduler shutdown, and socket error handling (#369, #377, #378).
  • Fixed CurrEstab updates and added oversized FEC packet checks (#381, #387).
  • Expanded auto-tuning, concurrency, and platform test coverage.

Upgrade notes

  • Go 1.26.2 or later is required (#370).
  • Rate limiting now uses juju/ratelimit. Data is queued before the pacing wait, which is not interrupted by a deadline or close (#367).
  • With kcp_no_snmp, Snmp statistics fields and reporting methods are unavailable.

Full changelog: v5.7.3...v5.7.9

v5.7.3

Choose a tag to compare

@xtaci xtaci released this 04 Nov 14:33

What's Changed

  • Fix IPv6 DSCP marking, simplify rate limiter, correct packet size limit by @rbqvq in #366

Full Changelog: v5.7.2...v5.7.3

v5.6.73

Choose a tag to compare

@xtaci xtaci released this 21 Oct 03:34
bca9394

What's Changed

  • Bump golang.org/x/crypto from 0.45.0 to 0.52.0 by @dependabot[bot] in #347
  • fix: preserve buffer for queued segments after MTU change by @sean0407 in #348
  • sess: an empty write reports the session state without flushing by @0pcom in #350
  • sess: arm a deadline timer only when Read or Write blocks by @0pcom in #349

New Contributors

Full Changelog: v5.6.72...v5.6.73

v5.6.64

Choose a tag to compare

@xtaci xtaci released this 26 Jan 09:53

Full Changelog: v5.6.61...v5.6.64

⌂ 换网址