Commit Graph
656 Commits
Author SHA1 Message Date
xtaci 2ea2218ef0 fix cwnd compute v5.5.8 2020-02-25 10:59:16 +08:00
xtaci 96f67cd7ae https://github.com/skywind3000/kcp/blob/cbf46fa1e94adce82df337d0c4351f164ba327fa/ikcp.c#L885-L889 v5.5.7 2020-02-23 11:59:13 +08:00
xtaci 3bedbae3ba remove variant cipher block size, cause variant blocksize can cap to
8/16 bytes
v5.5.6
2020-02-09 14:46:43 +00:00
xtaciandGitHub da0cced542 Update README.md 2020-02-09 18:28:59 +08:00
xtaci 6a7b9a764e fixed a bug on ack.sn math v5.5.5 2020-01-29 13:32:03 +08:00
xtaciandGitHub fcb4d6007a Update README.md 2020-01-05 19:26:56 +08:00
xtaciandGitHub fea3b94fc0 Update README.md 2020-01-05 19:22:51 +08:00
xtaci aa20c34d98 use absolute time v5.5.4 2020-01-05 11:48:19 +08:00
xtaci 9146e93d2d prevent slice from holding reference to closure v5.5.3 2020-01-05 00:02:09 +08:00
xtaci 3b36308a0c optimize timedsched memory allocation v5.5.2 2020-01-04 23:46:31 +08:00
xtaci 0d837e2e59 optimize timedsched v5.5.1 2020-01-04 23:22:54 +08:00
xtaci 42776b0b08 add a library level timedsched.go v5.5.0 2020-01-04 17:03:09 +08:00
xtaci e0b4e0b2dc Squashed commit of the following:
commit 2553f5d81a269170f04fb518ba7a4bfd62bb0944
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Jan 3 19:49:16 2020 +0800

    update xorsimd

commit 0060649b4e5694d2e89c3572f4154d6307a40a27
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Jan 3 19:43:28 2020 +0800

    upgrade xorsimd
v5.4.26
2020-01-03 19:50:23 +08:00
xtaci e9a537d123 update .travis.yml 2020-01-03 17:09:34 +08:00
xtaciandGitHub 0afad4f679 Update README.md 2020-01-03 17:05:31 +08:00
xtaci 99d42c4a84 use primitive methods for < 8 bytes v5.4.24 v5.4.25 2020-01-03 16:01:03 +08:00
xtaci c6331af2fa Squashed commit of the following:
commit 68a8b437de6c6f2c93e868d5e4dda7712807b5cf
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Jan 3 15:48:21 2020 +0800

    add comments

commit 37e06370a13afacd7af5a28b97a0160d80d18579
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Jan 3 15:20:48 2020 +0800

    add comments

commit 7060ce363f93896e01cc2c3af2b79cbd55a5c7e1
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Jan 3 14:32:22 2020 +0800

    update
v5.4.23
2020-01-03 15:48:50 +08:00
Temple3xandxtaci 56f3bfc617 Update Lib: xor -> xorsimd, slight perf improvement (#158)
➜  kcp-go git:(refine/xor2) ✗ benchcmp old.txt new.txt
benchmark                        old ns/op     new ns/op     delta
BenchmarkAES128-8                2777          2581          -7.06%
BenchmarkAES192-8                3067          2874          -6.29%
BenchmarkAES256-8                3300          3201          -3.00%
BenchmarkCsprngNonceAES128-8     15.5          15.3          -1.29%

benchmark                        old MB/s     new MB/s     speedup
BenchmarkAES128-8                1080.19      1162.22      1.08x
BenchmarkAES192-8                978.28       1043.86      1.07x
BenchmarkAES256-8                909.06       937.27       1.03x
BenchmarkCsprngNonceAES128-8     1033.62      1046.87      1.01x

benchmark             old allocs     new allocs     delta
BenchmarkAES128-8     0              0              +0.00%
BenchmarkAES192-8     0              0              +0.00%
BenchmarkAES256-8     0              0              +0.00%

benchmark             old bytes     new bytes     delta
BenchmarkAES128-8     0             0             +0.00%
BenchmarkAES192-8     0             0             +0.00%
BenchmarkAES256-8     0             0             +0.00%
2020-01-03 12:15:35 +08:00
xtaci ec4b6da0e9 retag v5.4.22 2019-12-31 22:40:32 +08:00
xtaci 839a8aec58 add go.mod v5.4.21 2019-12-31 22:36:57 +08:00
xtaci b1d82b8a82 Squashed commit of the following:
commit 1799e41166e64d9b4e356bb4da253070df1fe3de
Author: xtaci <daniel820313@gmail.com>
Date:   Tue Dec 17 17:33:58 2019 +0800

    adjusts some condition & comments

commit 60a0ebf3d0
Author: xjdrew <xj.drew@gmail.com>
Date:   Tue Dec 17 16:31:22 2019 +0800

    create new kcp session when receive a packet sn == 0 on old port
v5.4.20
2019-12-19 11:10:02 +08:00
xtaci 2ed35ac44d fix race and parityshard leaks v5.4.19 2019-11-07 13:30:11 +08:00
xtaci 68589db576 prevent putting back nil value v5.4.18 2019-11-05 19:23:10 +08:00
xtaci ddb5eedad0 return FEC segments to xmitBuf when session closes v5.4.17 2019-11-05 14:41:57 +08:00
xtaci ef2b8b8eb4 keep slice, and set nil to buffers v5.4.16 2019-11-04 08:09:22 +00:00
xtaci 9f0f2bc554 recycle xmitBuf uniformly 2019-11-04 08:03:12 +00:00
xtaci 6e70521d78 GND the buffers(to recycle the buffers) v5.4.15 2019-11-04 04:30:41 +00:00
xtaci 9313fe25dd purge outgoing segments when closing v5.4.14 2019-11-01 14:28:14 +00:00
xtaci 62a262c330 fix fec expire counting v5.4.13 2019-10-30 14:55:04 +00:00
xtaci 5d104dba02 change to const fecExpire v5.4.12 2019-10-30 12:35:20 +00:00
xtaci 31e8785c63 add a timeout policy for fec buffer 2019-10-27 13:18:53 +00:00
xtaciandGitHub 5e3955f967 Update README.md 2019-10-26 21:49:00 +08:00
xtaciandGitHub bb31b7882b Add files via upload 2019-10-26 21:48:02 +08:00
xjdrewandxtaci b15c303be7 try best to send all queued messages when close UDPSession (#145)
* try best to send all queued messages when close UDPSession

* fix: lock
2019-10-23 16:24:44 +08:00
xtaciandGitHub 2533cec203 Update README.md 2019-09-27 13:37:02 +08:00
xtaci d002baf70a optimize updater to a per-session timer for multicore v5.4.11 2019-09-26 10:53:49 +08:00
xtaci 6b4294b8fd remove a redundant variable 2019-09-25 20:05:06 +08:00
xtaci d59f410c97 reset fastack = 0 to prevent from sending needless data v5.4.10 2019-09-24 05:20:15 +00:00
xtaci d0f56d82a1 adjust flush condition sequence,fastack first to prevent needless fire v5.4.9 2019-09-23 21:57:41 +08:00
xtaci b82e376791 Merge branch 'fastack' v5.4.8 2019-09-23 21:25:00 +08:00
xtaci 0c1ea7566e fastack adjust 2019-09-23 13:15:20 +00:00
xtaci 1a9584df71 rm go.mod v5.4.7 2019-09-22 17:40:20 +08:00
xtaci e49bf232c4 more accurate on writable events trigger v5.4.6 2019-09-22 17:22:02 +08:00
xtaci a2bf128d43 more accurate write block v5.4.5 2019-09-10 22:01:16 +08:00
xtaci 46b7e46177 cannocial interface v5.4.4 2019-08-08 12:33:24 +00:00
xtaci 78590351ea let SetDSCP invoke the conn's SetDSCP function if there is any v5.4.3 2019-08-08 12:29:23 +00:00
xtaci b8cc8a83fb fix windows compatibility in setsockopt 2019-07-18 16:35:52 +08:00
xtaci 4b6ad7e691 set dualstack DSCP 2019-07-15 21:30:21 +08:00
xtaciandGitHub db722ec0b5 Update README.md 2019-07-02 10:54:19 +08:00
xtaci aba76787a5 bug fix v5.4.2 2019-06-11 15:27:26 +08:00