Skip to content

Releases: xtaci/kcptun

Recompiled with golang1.14.2

09 Apr 03:25
Compare
Choose a tag to compare
  1. Fixed golang deadlock: golang/go#38023
  2. Fixed mips startup failure: golang/go#38005
$ go version
go version go1.14.2 linux/amd64

$ date
Thu Apr  9 11:03:08 CST 2020

╰─$ ./build-release.sh
Setting GO111MODULE to on
5be122f1144c2b221ba8ca4cac8c8be11fa73bd0  kcptun-linux-amd64-20200409.tar.gz
1279b56e64fd26d9b0d582f3a57cc7a3664bd689  kcptun-darwin-amd64-20200409.tar.gz
3c9a66269e548e020840b342ef9b1d9515a21bf1  kcptun-windows-amd64-20200409.tar.gz
bb501006da3f018596fb7f1cab3fc1612f320a32  kcptun-freebsd-amd64-20200409.tar.gz
24022966888eb3a803fe5a6680cab03572ae9853  kcptun-linux-386-20200409.tar.gz
cb8ab3d22aa8807daccfc2ee65be58dce119b016  kcptun-windows-386-20200409.tar.gz
17dbd0d8323c09bd72f918f045073f653d63bac1  kcptun-linux-arm5-20200409.tar.gz
a2851ee2c2650e51006fa9a37bf1ef67dd790989  kcptun-linux-arm6-20200409.tar.gz
1f43329b31a9dac836e4416a5261f57dc1bb49fa  kcptun-linux-arm7-20200409.tar.gz
1faab4f0caff66282165525a744feb7921498427  kcptun-linux-arm64-20200409.tar.gz
900fe86870b793cca84d9c827902227e14859e6c  kcptun-linux-mipsle-20200409.tar.gz
8f7580f35ee681a48674814afdbd59edf0448c99  kcptun-linux-mips-20200409.tar.gz

A bugfix in kcp-go

01 Feb 09:40
Compare
Choose a tag to compare
  1. Fixed a bug in https://github.com/xtaci/kcp-go/releases/tag/v5.5.5
  2. Upgraded scheduler in kcp-go for efficiency, https://github.com/xtaci/kcp-go/blob/master/timedsched.go
$ go version
go version go1.13.7 linux/amd64

$ date
Sat Feb  1 17:37:46 CST 2020

$ ./build-release.sh
Setting GO111MODULE to on
4b41d537e20e1928808f908c8c150771f67260c2  kcptun-linux-amd64-20200201.tar.gz
c17a7a62ad873bbd5a789887323de43d47f537f3  kcptun-darwin-amd64-20200201.tar.gz
ca208bae0b3290398f943e66adf0b0cae845a71d  kcptun-windows-amd64-20200201.tar.gz
2d189a2e8beac1d1849c95ad595d47c8e7d5315f  kcptun-freebsd-amd64-20200201.tar.gz
4510983a631b61f217fe34dad11d6e8daecc6674  kcptun-linux-386-20200201.tar.gz
975401ab765d653446fb9d0e7b380918c837a943  kcptun-windows-386-20200201.tar.gz
054fed21924cfdf93c0c58b99c5d98fa59faa743  kcptun-linux-arm5-20200201.tar.gz
2ea802a867e3a87bb58b132ea7854c0b80a90d09  kcptun-linux-arm6-20200201.tar.gz
641d5d84e1328914be664ad35d939f41171406ca  kcptun-linux-arm7-20200201.tar.gz
82a0e440e69c4cd74d1685996dc4eafeb4ade10f  kcptun-linux-arm64-20200201.tar.gz
ebbcf897f45d00d24e510d2de479cc6f1c54ca8d  kcptun-linux-mipsle-20200201.tar.gz
f8e604d9072423c764e7d2a0916fadd910f1b62f  kcptun-linux-mips-20200201.tar.gz

Speed improvements on non-x86 core

03 Jan 12:39
Compare
Choose a tag to compare
  1. Encryption/Decryption speed improvement on non-x86 core. (+25% faster)
$ go version
go version go1.13.5 linux/amd64

$ date
Fri Jan  3 20:35:57 CST 2020

$ ./build-release.sh
Setting GO111MODULE to on
e57b5f8bac9c772b7926172d989f2d3444c1fcdf  kcptun-linux-amd64-20200103.tar.gz
c301968f980f0deaa6b0cf9cee29d464ce103161  kcptun-darwin-amd64-20200103.tar.gz
ca40e77d146dbb35fd68190c27c52fcaff17d2ab  kcptun-windows-amd64-20200103.tar.gz
d459927aa7a2fffadc51cef6680b8eed7257854d  kcptun-freebsd-amd64-20200103.tar.gz
e68baa8508e1a8fe615f5c26aa463817213adb77  kcptun-linux-386-20200103.tar.gz
2647fc8931777f6092672e812d931ec006020a99  kcptun-windows-386-20200103.tar.gz
009dcf0d2ab9c67b2b214007f28cee75490d1c47  kcptun-linux-arm5-20200103.tar.gz
a9fecc2b370da1ca4038a88c7c17c1f721349051  kcptun-linux-arm6-20200103.tar.gz
79e6b160011778bfcc147cfa2606f98995169655  kcptun-linux-arm7-20200103.tar.gz
adc652775016cd2eb24d642f7139bfa19332da4c  kcptun-linux-arm64-20200103.tar.gz
fc84ecabce5cfcae0fb29cc99e90db6d594806fe  kcptun-linux-mipsle-20200103.tar.gz
213ac323402235e49c798c500b816c44f6c5f059  kcptun-linux-mips-20200103.tar.gz

Fixed a bug in previous release.

29 Dec 10:48
Compare
Choose a tag to compare
  1. Fixed a bug which possibly leads to speed issues in previous release.
  2. The last release of this decade.
  3. Compacted smux.
$ go version
go version go1.13.5 darwin/amd64

$ date
2019年12月29日 星期日 18时41分08秒 CST
$ ./build-release.sh
Setting GO111MODULE to on
d469e201c9dc269cb513852a2340ae77bef25436  kcptun-linux-amd64-20191229.tar.gz
9e9495dd512a9ad6350e7aa040def03ec2e976dd  kcptun-darwin-amd64-20191229.tar.gz
dbb941cbc7c9d7310550925d34568511ed6d788e  kcptun-windows-amd64-20191229.tar.gz
9626e63d135685a518d5ddf9bca7434ee9dbcbdf  kcptun-freebsd-amd64-20191229.tar.gz
8f88e4f7401ef640b244752aea0d1648b9ed59fc  kcptun-linux-386-20191229.tar.gz
d160fb300a54dec45d23757276fa807e99139696  kcptun-windows-386-20191229.tar.gz
9742db6e82bf3e4d19e0a62615722a70dd4273f1  kcptun-linux-arm5-20191229.tar.gz
2a8d230f0a697ca55a0ea3a26cc7d3b274a00014  kcptun-linux-arm6-20191229.tar.gz
f942f83b30a21ee99acf49655dd14bb3aa4577f9  kcptun-linux-arm7-20191229.tar.gz
0125fed24d82a2acf35db11a5741e5bb50b72088  kcptun-linux-arm64-20191229.tar.gz
58ffcf67d0cddb2f2596cc5016d31068329271ac  kcptun-linux-mipsle-20191229.tar.gz
566cf0082fc32ebafab4f0079dfc64a7103e2431  kcptun-linux-mips-20191229.tar.gz

Bounded copy buffer among streams & goroutine optimization

19 Dec 08:47
Compare
Choose a tag to compare
  1. Under *nix, all tcp connections multiplexed on a single kcp connection via smux now share ONE buffer, instead of one buffer per one tcp connection previously. https://github.com/xtaci/kcptun/blob/master/generic/rawcopy_unix.go
  2. Eliminated ONE extra goroutine per connection.
  3. Fixed a possible error in smux.
$ go version
go version go1.13.5 darwin/amd64

$ date
2019年12月19日 星期四 16时46分24秒 CST

$ ./build-release.sh
Setting GO111MODULE to on
f7b80ce856945cb55609cc8d03471c799fd35b37  kcptun-linux-amd64-20191219.tar.gz
fa2f658ffca116ac969b9cdf9489ed4baf158513  kcptun-darwin-amd64-20191219.tar.gz
cab3df2634d5de6291b1f3479cb84f6bb4d40b0e  kcptun-windows-amd64-20191219.tar.gz
8978d80bcda04449c5c389823cca1e9234efb8ec  kcptun-freebsd-amd64-20191219.tar.gz
3160101f3e956b489e5fa9fd752a2b0ebb5750af  kcptun-linux-386-20191219.tar.gz
26831c9d28956993371b53c82d6e689709c77a4a  kcptun-windows-386-20191219.tar.gz
f057891af9a446d51aa06dbdf6c82e558c84103b  kcptun-linux-arm5-20191219.tar.gz
79121eae74842646ae33144d714fafb57605d15f  kcptun-linux-arm6-20191219.tar.gz
48745042ddf9bd3266d1f94b972503b33a216cd8  kcptun-linux-arm7-20191219.tar.gz
48c17c4c236f9af4da19899081f6290e7d71d67b  kcptun-linux-arm64-20191219.tar.gz
413d5c51f41e1216e0a5204c0de7f30cbcb9c67e  kcptun-linux-mipsle-20191219.tar.gz
c3deac74158ef02bd1167ed74e908bc2f08a7c90  kcptun-linux-mips-20191219.tar.gz

Bounded copy buffer among streams

18 Dec 14:28
Compare
Choose a tag to compare
  1. Under *nix, all tcp connections multiplexed on a single kcp connection via smux now share ONE buffer, instead of one buffer per one tcp connection previously. https://github.com/xtaci/kcptun/blob/master/generic/rawcopy_unix.go
$ go version
go version go1.13.5 linux/amd64

$ date
Wed Dec 18 22:22:44 CST 2019

$ ./build-release.sh
Setting GO111MODULE to on
30f289462af0075b40872910527fb0d6f6163d60  kcptun-linux-amd64-20191218.tar.gz
3afe806b982f78589e64573af8e81a3e2b14ecca  kcptun-darwin-amd64-20191218.tar.gz
13754896ed940e9ecbe45f5dbf738604be5e1ff9  kcptun-windows-amd64-20191218.tar.gz
99705b48af0f7b428a6031ead99c6906dc503147  kcptun-freebsd-amd64-20191218.tar.gz
9bf5ecb96d6128c16afef08e610d0716ae436c50  kcptun-linux-386-20191218.tar.gz
60cfd11e5a5a2be857fe53033b634f7f8e581fad  kcptun-windows-386-20191218.tar.gz
b69fb31d9d7782fe46cd2a7c32c977b38bef29f2  kcptun-linux-arm5-20191218.tar.gz
631c18feacb4025d0588d50f6a8b0e8135dddc2c  kcptun-linux-arm6-20191218.tar.gz
ddc532decf50095dac67b92062b7d2b03e07b317  kcptun-linux-arm7-20191218.tar.gz
207e23805c19cfc4a138e50379f529976b8a5e8b  kcptun-linux-arm64-20191218.tar.gz
2d99837982df9c3ec829e4382cc3656f74eac3c3  kcptun-linux-mipsle-20191218.tar.gz
9dbe1915b95f7195d35459496884e85c7a64ac19  kcptun-linux-mips-20191218.tar.gz

Optimize memory usage

27 Nov 04:48
Compare
Choose a tag to compare
  1. Optimize memory usage by implementing io.WriteTo in smux xtaci/smux@97a567b
$ go version
go version go1.13.4 linux/amd64

$ date
Wed Nov 27 12:41:17 CST 2019

$ ./build-release.sh
Setting GO111MODULE to on
03fbd05048a3db0d253ceef1ddae0ff116b2bef6  kcptun-linux-amd64-20191127.tar.gz
53d54615372e97e6c9fc810d7ce192bcd273d70e  kcptun-darwin-amd64-20191127.tar.gz
1898dc0e332391ac06f78a9c3a9f562e283cb605  kcptun-windows-amd64-20191127.tar.gz
61730d06550d18f2bcc6b06290a5ae0ef30a1c77  kcptun-freebsd-amd64-20191127.tar.gz
aefb5b8958a806bce1b44cf6d2c87f6ca8c2cb2d  kcptun-linux-386-20191127.tar.gz
c684623d10e6c8e5312779d4bb69e16d90cdb98d  kcptun-windows-386-20191127.tar.gz
05dab8d415fac7933f912bcad298c0c5be14ade0  kcptun-linux-arm5-20191127.tar.gz
0ee8b3a387bfca58186583ccc3bab3ff53fcf4f1  kcptun-linux-arm6-20191127.tar.gz
73b9a261304883a424bbfaed212fca1b0e8edb1d  kcptun-linux-arm7-20191127.tar.gz
eb4a820a79683e9e624daac3a585459eb3665c27  kcptun-linux-arm64-20191127.tar.gz
b146f096b19609e03b4b7342231e3d67cb49d84e  kcptun-linux-mipsle-20191127.tar.gz
b31d5984d3c864eacc4b40b0f191a1ab668c3712  kcptun-linux-mips-20191127.tar.gz

Optimize memory usage

12 Nov 12:24
Compare
Choose a tag to compare
  1. Optimize memory usage xtaci/kcp-go#146
$ go version
go version go1.13 linux/amd64

$ date
Tue Nov 12 20:19:02 CST 2019

$ ./build-release.sh
Setting GO111MODULE to on
75ddf1f6b57b4ce7fb2c7ee662c54d7a68bd3d2f  kcptun-linux-amd64-20191112.tar.gz
b2d2f26a6f6169e1e2e93281c6b144845a48df82  kcptun-darwin-amd64-20191112.tar.gz
7a0fa76cb22c09d8c2d9ff2b62e1aad4c50b6371  kcptun-windows-amd64-20191112.tar.gz
b8e7e2a95f08c439812563a2678bfe2d7e04dd98  kcptun-freebsd-amd64-20191112.tar.gz
ae637be8219c490596140a526d7a5ae1b5d06470  kcptun-linux-386-20191112.tar.gz
261ada48f76d4a26c994be7991dc27adf09dd317  kcptun-windows-386-20191112.tar.gz
8c121fae025f2f528540da040bda87f107bfd132  kcptun-linux-arm5-20191112.tar.gz
ca0152cbca0fa56c6e9e6fcc19e47046c93e352d  kcptun-linux-arm6-20191112.tar.gz
ed09e6147047b0738c220cf53659c3ee2066e195  kcptun-linux-arm7-20191112.tar.gz
c4bf63382a75b4675a6127ec5f7d2449a74be179  kcptun-linux-arm64-20191112.tar.gz
95258bd7d37b224be4f94ec442e3ddb1d47d8655  kcptun-linux-mipsle-20191112.tar.gz
f18c877fd220d0331cdc27321ebb22d85b470247  kcptun-linux-mips-20191112.tar.gz

Optimize memory usage

09 Nov 14:39
Compare
Choose a tag to compare
  1. Optimize memory usage xtaci/kcp-go#146
  2. Fixed a race condition
$ go version
go version go1.13 linux/amd64

$ date
Sat Nov  9 22:35:28 CST 2019

$ ./build-release.sh
Setting GO111MODULE to on
de9ff808409d5bbe93a2b7a4c88e700be86cefdb  kcptun-linux-amd64-20191109.tar.gz
96de7b2223cddffde2acc35d7eb27d3f3d16b1b4  kcptun-darwin-amd64-20191109.tar.gz
6bb1216753f38d988f76e7463614ad6b11e2e9c2  kcptun-windows-amd64-20191109.tar.gz
0fbaf29b9ea236288e15cf66a4bff7f7e962545a  kcptun-freebsd-amd64-20191109.tar.gz
1d7964e3a2c02c0d136ea881e87f4bcde343790f  kcptun-linux-386-20191109.tar.gz
76fd40cd805212dee0a5fcc334b8c0895de09fa3  kcptun-windows-386-20191109.tar.gz
2f043cc39911df6525d87e0a4e069c94345279e9  kcptun-linux-arm5-20191109.tar.gz
bf787809e25bb0cbe7ce9afb1103dde391ddecab  kcptun-linux-arm6-20191109.tar.gz
73f4223d8eb7b685c5eee396b8fccdc10dbb30ac  kcptun-linux-arm7-20191109.tar.gz
e5324a69a891970271f3ac1699b274b5fb796cdb  kcptun-linux-arm64-20191109.tar.gz
2c84c5b8188000020b07b0ddfc174e5c49dd36c1  kcptun-linux-mipsle-20191109.tar.gz
7beac7ce378570fe52efe72dc5addbb96a9e1769  kcptun-linux-mips-20191109.tar.gz

Optimize memory usage

04 Nov 08:18
Compare
Choose a tag to compare
Optimize memory usage Pre-release
Pre-release
  1. Optimize memory usage xtaci/kcp-go#146
$ go version
go version go1.13 linux/amd64

$ date
Mon Nov  4 16:16:04 CST 2019

$ shasum *.tar.gz
00f03f3b9e7aa82cbf2383dca9633f8573452096  kcptun-linux-amd64-20191104.tar.gz
511a0fb2d9322a7af242882f988fb69cde78c192  kcptun-darwin-amd64-20191104.tar.gz
f72ab7d8742765189a6d623bf33677e91af78822  kcptun-windows-amd64-20191104.tar.gz
6c1b07ad8b5c56033003e42f9633e3972d2eb077  kcptun-freebsd-amd64-20191104.tar.gz
1ac9ac01f7e3a8495a571f51ba8e2cea4d29ac70  kcptun-linux-386-20191104.tar.gz
b0a82b3d142519281c12e1b0f6e64a81b314d58b  kcptun-windows-386-20191104.tar.gz
3ad3f370561fc0ac5425123c01e04d70c661f1f7  kcptun-linux-arm5-20191104.tar.gz
2814d18a4f656075f57ba87f50a365991c7e8e74  kcptun-linux-arm6-20191104.tar.gz
045e3859e907b1c17e5f6d1e8c221f6e06df6dc7  kcptun-linux-arm7-20191104.tar.gz
5448f325b0749d8a280ba7687132fc4a4f205432  kcptun-linux-arm64-20191104.tar.gz
a735f371fb5766d4432bde5f97d703274ecaf098  kcptun-linux-mipsle-20191104.tar.gz
432422e463004505f88b8345d647f4bc3e514a01  kcptun-linux-mips-20191104.tar.gz