702 Commits
Author SHA1 Message Date
xtaci d26364a67c fix for issue: https://github.com/xtaci/kcp-go/issues/259 v5.6.8 2024-03-11 22:08:35 +08:00
xtaci 16b0610a85 remove unused param v5.6.7 2024-01-05 22:32:14 +08:00
xtaci 631cae2218 Merge branch 'dynamic_fec' 2024-01-05 22:26:22 +08:00
xtaci ac68419728 Squashed commit of the following:
commit 8d14f070fe
Author: xtaci <daniel820313@gmail.com>
Date:   Thu Jan 4 22:50:33 2024 +0800

    upd deps

commit b451b38b36
Author: xtaci <daniel820313@gmail.com>
Date:   Thu Jan 4 22:48:12 2024 +0800

    fix test

commit 8ebaec8b6e
Author: xtaci <daniel820313@gmail.com>
Date:   Thu Jan 4 22:45:10 2024 +0800

    remove unused param

commit 0e5741b954
Author: fuli <fuli@rockx.com>
Date:   Thu Jan 4 16:21:42 2024 +0800

    use latest packet compare

commit 97999b9dc2
Author: fuli <fuli@rockx.com>
Date:   Thu Jan 4 16:07:08 2024 +0800

    face race in test

commit 446bead851
Author: fuli <fuli@rockx.com>
Date:   Thu Jan 4 16:04:42 2024 +0800

    upd

commit 570e9b006e
Author: fuli <fuli@rockx.com>
Date:   Thu Jan 4 16:03:17 2024 +0800

    revert some file

commit c665db20a5
Author: fuli <fuli@rockx.com>
Date:   Thu Jan 4 15:59:16 2024 +0800

    Revert "Revert "1. simplify readloop_xxx files & tx_xxx files by merging""

    This reverts commit 717b79a156.

commit 717b79a156
Author: fuli <fuli@rockx.com>
Date:   Thu Jan 4 15:58:30 2024 +0800

    Revert "1. simplify readloop_xxx files & tx_xxx files by merging"

    This reverts commit 681bda64d1.

commit 681bda64d1
Author: fuli <fuli@rockx.com>
Date:   Thu Jan 4 15:54:29 2024 +0800

    1. simplify readloop_xxx files & tx_xxx files by merging
    2. fix the race in owned packet test

commit 7974357dd0
Author: xtaci <daniel820313@gmail.com>
Date:   Thu Jan 4 00:04:06 2024 +0800

    use unix.Milli

commit 375407b80c
Author: xtaci <daniel820313@gmail.com>
Date:   Wed Jan 3 23:40:01 2024 +0800

    add passive fec
v5.6.6
2024-01-04 22:51:13 +08:00
xtaci 8d14f070fe upd deps 2024-01-04 22:50:33 +08:00
xtaci b451b38b36 fix test 2024-01-04 22:48:12 +08:00
xtaci 8ebaec8b6e remove unused param 2024-01-04 22:45:10 +08:00
xtaci cd06d59cba Squashed commit of the following:
commit 0e5741b954
Author: fuli <fuli@rockx.com>
Date:   Thu Jan 4 16:21:42 2024 +0800

    use latest packet compare

commit 97999b9dc2
Author: fuli <fuli@rockx.com>
Date:   Thu Jan 4 16:07:08 2024 +0800

    face race in test

commit 446bead851
Author: fuli <fuli@rockx.com>
Date:   Thu Jan 4 16:04:42 2024 +0800

    upd

commit 570e9b006e
Author: fuli <fuli@rockx.com>
Date:   Thu Jan 4 16:03:17 2024 +0800

    revert some file

commit c665db20a5
Author: fuli <fuli@rockx.com>
Date:   Thu Jan 4 15:59:16 2024 +0800

    Revert "Revert "1. simplify readloop_xxx files & tx_xxx files by merging""

    This reverts commit 717b79a156.

commit 717b79a156
Author: fuli <fuli@rockx.com>
Date:   Thu Jan 4 15:58:30 2024 +0800

    Revert "1. simplify readloop_xxx files & tx_xxx files by merging"

    This reverts commit 681bda64d1.

commit 681bda64d1
Author: fuli <fuli@rockx.com>
Date:   Thu Jan 4 15:54:29 2024 +0800

    1. simplify readloop_xxx files & tx_xxx files by merging
    2. fix the race in owned packet test

commit 7974357dd0
Author: xtaci <daniel820313@gmail.com>
Date:   Thu Jan 4 00:04:06 2024 +0800

    use unix.Milli

commit 375407b80c
Author: xtaci <daniel820313@gmail.com>
Date:   Wed Jan 3 23:40:01 2024 +0800

    add passive fec
2024-01-04 22:43:12 +08:00
fuli 0e5741b954 use latest packet compare 2024-01-04 16:21:42 +08:00
fuli 97999b9dc2 face race in test 2024-01-04 16:07:08 +08:00
fuli 446bead851 upd 2024-01-04 16:04:42 +08:00
fuli 570e9b006e revert some file 2024-01-04 16:03:17 +08:00
fuli c665db20a5 Revert "Revert "1. simplify readloop_xxx files & tx_xxx files by merging""
This reverts commit 717b79a156.
2024-01-04 15:59:16 +08:00
fuli 717b79a156 Revert "1. simplify readloop_xxx files & tx_xxx files by merging"
This reverts commit 681bda64d1.
2024-01-04 15:58:30 +08:00
fuli 681bda64d1 1. simplify readloop_xxx files & tx_xxx files by merging
2. fix the race in owned packet test
2024-01-04 15:54:29 +08:00
xtaci 7974357dd0 use unix.Milli 2024-01-04 00:04:06 +08:00
xtaci 375407b80c add passive fec 2024-01-03 23:40:01 +08:00
637838a7b2 Bump gopkg.in/yaml.v3 from 3.0.0-20200313102051-9f266ea9e77c to 3.0.0 (#249)
Bumps gopkg.in/yaml.v3 from 3.0.0-20200313102051-9f266ea9e77c to 3.0.0.

---
updated-dependencies:
- dependency-name: gopkg.in/yaml.v3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
v5.6.5
2023-10-12 23:14:37 +08:00
xtaci 8de97dfe26 upd deps 2023-10-12 23:13:03 +08:00
xtaci ceebe176cf fix autotune fec mis-align when parameters are different v5.6.4 2023-10-12 23:10:50 +08:00
xtaci b6abd38df9 upd deps v5.6.3 2023-08-11 11:52:10 +08:00
xtaci 691fc2febe use clear in go1.21 to zero instead of copying zeros 2023-08-11 11:33:20 +08:00
xtaci 03b584b84e fix timeout leak v5.6.2 2023-02-07 12:09:00 +08:00
xtaci e65665c5a0 upd deps 2022-06-27 20:09:52 +08:00
Yujia QiaoandGitHub bd59cf8a52 upgrade the dependency cpu (#214) 2021-10-22 20:23:18 +08:00
xtaciandGitHub 067d61e6c3 Delete wechat_donate.jpg 2021-05-05 10:44:54 +08:00
xtaciandGitHub 627c0f6a01 Delete donate.png 2021-05-05 10:44:43 +08:00
xtaciandGitHub 1cef813798 Update README.md 2021-05-05 10:44:17 +08:00
andGitHub 7450e915db add dissector for wireshark (#198) 2021-04-16 11:44:15 +08:00
genisysramandGitHub bd9c72d5d7 added code to run the test on Powersystems (#189) 2020-12-11 11:19:00 +08:00
xtaci 88fc14ae6d optimize left edge finding in autotune v5.6.1 2020-10-10 11:47:03 +08:00
xtaci dd1ac88f92 add extra check in auto tune 2020-10-09 23:23:58 +08:00
xtaci 582575ef06 Squashed commit of the following:
commit a8ae293a9ddee042c35e2501f93fa5dfa2425302
Merge: bdaf81e 1a84985
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Oct 9 22:48:13 2020 +0800

    Merge branch 'master' into autotune

commit bdaf81e88e
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Oct 9 22:38:31 2020 +0800

    add loc

commit ce66a98f95
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Oct 9 19:53:42 2020 +0800

    lint

commit ad7383d8a3
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Oct 9 19:05:35 2020 +0800

    fix typo

commit dc0fc2364c
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Oct 9 16:47:14 2020 +0800

    adjust tests

commit ec45b72c39
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Oct 9 16:45:17 2020 +0800

    remove obsolete decoder in listener

commit 827aa70e29
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Oct 9 16:42:42 2020 +0800

    use hierarchical defensive receiving strategy

commit f5ca6b0e3a
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Oct 9 16:34:30 2020 +0800

    optimize condition

commit ff34f7683f
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Oct 9 15:18:00 2020 +0800

    fix test

commit a08b274651
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Oct 9 15:13:20 2020 +0800

    solve compability issue with non FEC sender

commit ab7596783b
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Oct 9 15:02:34 2020 +0800

    implements autotune in fec decoder

commit 260f61b3eb
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Oct 9 14:34:48 2020 +0800

    hack 16-bit to identify FEC from packet

commit 105bfec567
Author: xtaci <daniel820313@gmail.com>
Date:   Fri Oct 2 21:38:47 2020 +0800

    add autotune
2020-10-09 22:52:11 +08:00
xtaci 1a84985373 use rlock for error notification v5.5.17 2020-09-30 19:04:24 +08:00
xtaci 608bd97d7b use rwlock for sessions object v5.5.16 2020-09-30 15:26:09 +08:00
FilipeandGitHub f45217ee3a Update dependencies (#182)
* Git ignore go vendor folder

* Update go dependencies
v5.5.15
2020-08-09 14:01:25 +08:00
xtaci 5d79d1b91b add 2 getter for metrics 2020-07-07 16:49:41 +08:00
xtaci 61b6a3efc7 combine if else 2020-07-02 21:23:23 +08:00
xtaci 43d2c47d8a flush when input has make a window slide v5.5.14 2020-07-01 18:04:55 +08:00
xtaci b7b732f98f returns current RTO v5.5.13 2020-06-30 20:46:15 +08:00
102f18da8b Import /v5 in example code. (#170)
This enables the removal of a `kcp-go v5.4.20+incompatible` from go.mod.
(Automatically using `go mod tidy`.)

Co-authored-by: David Fifield <david@bamsoftware.com>
v5.5.12
2020-04-10 22:28:50 +08:00
xtaci 831b5b2673 properly drain timer.C v5.5.11 2020-03-22 22:01:17 +08:00
xtaci 6f9c25ae24 optimize on timedsched v5.5.10 2020-03-22 21:47:17 +08:00
bb1f2af922 Make UDPSession and Listener only close PacketConns they created (#167)
* Tests for closing owned/non-owned PacketConns (#165)

* Don't close non-owned conns in UDPSession and Listener (#165)

Co-authored-by: David Fifield <david@bamsoftware.com>
2020-03-18 11:23:06 +08:00
xtaciandGitHub f394066d36 Update README.md 2020-03-15 20:19:32 +08:00
xtaci dae4131c3f bugfix in timer v5.5.9 2020-03-09 21:24:19 +08:00
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