xtaci
d26364a67c
fix for issue: https://github.com/xtaci/kcp-go/issues/259
2024-03-11 22:08:35 +08:00
xtaci
16b0610a85
remove unused param
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
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
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
xtaci
8de97dfe26
upd deps
2023-10-12 23:13:03 +08:00
xtaci
ceebe176cf
fix autotune fec mis-align when parameters are different
2023-10-12 23:10:50 +08:00
xtaci
b6abd38df9
upd deps
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
2023-02-07 12:09:00 +08:00
xtaci
e65665c5a0
upd deps
2022-06-27 20:09:52 +08:00
xtaci and GitHub
067d61e6c3
Delete wechat_donate.jpg
2021-05-05 10:44:54 +08:00
xtaci and GitHub
627c0f6a01
Delete donate.png
2021-05-05 10:44:43 +08:00
xtaci and GitHub
1cef813798
Update README.md
2021-05-05 10:44:17 +08:00
xtaci
88fc14ae6d
optimize left edge finding in autotune
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
2020-09-30 19:04:24 +08:00
xtaci
608bd97d7b
use rwlock for sessions object
2020-09-30 15:26:09 +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
2020-07-01 18:04:55 +08:00
xtaci
b7b732f98f
returns current RTO
2020-06-30 20:46:15 +08:00
xtaci
831b5b2673
properly drain timer.C
2020-03-22 22:01:17 +08:00
xtaci
6f9c25ae24
optimize on timedsched
2020-03-22 21:47:17 +08:00
xtaci and GitHub
f394066d36
Update README.md
2020-03-15 20:19:32 +08:00
xtaci
dae4131c3f
bugfix in timer
2020-03-09 21:24:19 +08:00
xtaci
2ea2218ef0
fix cwnd compute
2020-02-25 10:59:16 +08:00
xtaci
96f67cd7ae
https://github.com/skywind3000/kcp/blob/cbf46fa1e94adce82df337d0c4351f164ba327fa/ikcp.c#L885-L889
2020-02-23 11:59:13 +08:00
xtaci
3bedbae3ba
remove variant cipher block size, cause variant blocksize can cap to
...
8/16 bytes
2020-02-09 14:46:43 +00:00
xtaci and GitHub
da0cced542
Update README.md
2020-02-09 18:28:59 +08:00
xtaci
6a7b9a764e
fixed a bug on ack.sn math
2020-01-29 13:32:03 +08:00
xtaci and GitHub
fcb4d6007a
Update README.md
2020-01-05 19:26:56 +08:00
xtaci and GitHub
fea3b94fc0
Update README.md
2020-01-05 19:22:51 +08:00
xtaci
aa20c34d98
use absolute time
2020-01-05 11:48:19 +08:00
xtaci
9146e93d2d
prevent slice from holding reference to closure
2020-01-05 00:02:09 +08:00
xtaci
3b36308a0c
optimize timedsched memory allocation
2020-01-04 23:46:31 +08:00
xtaci
0d837e2e59
optimize timedsched
2020-01-04 23:22:54 +08:00
xtaci
42776b0b08
add a library level timedsched.go
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
2020-01-03 19:50:23 +08:00
xtaci
e9a537d123
update .travis.yml
2020-01-03 17:09:34 +08:00
xtaci and GitHub
0afad4f679
Update README.md
2020-01-03 17:05:31 +08:00
xtaci
99d42c4a84
use primitive methods for < 8 bytes
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
2020-01-03 15:48:50 +08:00
xtaci
ec4b6da0e9
retag
2019-12-31 22:40:32 +08:00
xtaci
839a8aec58
add go.mod
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
2019-12-19 11:10:02 +08:00
xtaci
2ed35ac44d
fix race and parityshard leaks
2019-11-07 13:30:11 +08:00
xtaci
68589db576
prevent putting back nil value
2019-11-05 19:23:10 +08:00
xtaci
ddb5eedad0
return FEC segments to xmitBuf when session closes
2019-11-05 14:41:57 +08:00
xtaci
ef2b8b8eb4
keep slice, and set nil to buffers
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)
2019-11-04 04:30:41 +00:00
xtaci
9313fe25dd
purge outgoing segments when closing
2019-11-01 14:28:14 +00:00
xtaci
62a262c330
fix fec expire counting
2019-10-30 14:55:04 +00:00
xtaci
5d104dba02
change to const fecExpire
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
xtaci and GitHub
5e3955f967
Update README.md
2019-10-26 21:49:00 +08:00
xtaci and GitHub
bb31b7882b
Add files via upload
2019-10-26 21:48:02 +08:00
xtaci and GitHub
2533cec203
Update README.md
2019-09-27 13:37:02 +08:00
xtaci
d002baf70a
optimize updater to a per-session timer for multicore
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
2019-09-24 05:20:15 +00:00
xtaci
d0f56d82a1
adjust flush condition sequence,fastack first to prevent needless fire
2019-09-23 21:57:41 +08:00
xtaci
b82e376791
Merge branch 'fastack'
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
2019-09-22 17:40:20 +08:00
xtaci
e49bf232c4
more accurate on writable events trigger
2019-09-22 17:22:02 +08:00
xtaci
a2bf128d43
more accurate write block
2019-09-10 22:01:16 +08:00
xtaci
46b7e46177
cannocial interface
2019-08-08 12:33:24 +00:00
xtaci
78590351ea
let SetDSCP invoke the conn's SetDSCP function if there is any
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
xtaci and GitHub
db722ec0b5
Update README.md
2019-07-02 10:54:19 +08:00
xtaci
aba76787a5
bug fix
2019-06-11 15:27:26 +08:00
xtaci
3a4bcb9bae
fix sendmmsg/recvmmsg compatibility issue for old linux kernel
2019-06-11 13:56:56 +08:00
xtaci
09348110eb
add NewConn3
2019-06-04 09:29:07 +08:00
xtaci
cf683954a2
move currentMs() to kcp.go
2019-06-01 18:23:55 +08:00
xtaci
f461a5b74d
fix
2019-05-23 23:58:16 +08:00
xtaci
5e990bd411
safer conversion
2019-05-23 23:56:01 +08:00
xtaci
c749e12021
enlarge paws border
2019-05-23 22:41:45 +08:00
xtaci and GitHub
b1dff5c9b1
Update README.md
2019-05-17 12:32:34 +08:00
xtaci and GitHub
5a48df8283
Update README.md
2019-05-17 12:28:43 +08:00
xtaci and GitHub
320b369a64
Update README.md
2019-05-17 10:05:27 +08:00
xtaci and GitHub
7285aef504
Update README.md
2019-05-17 10:03:10 +08:00
xtaci and GitHub
d68de25721
Update README.md
2019-05-16 21:13:50 +08:00
xtaci
5a8390a53f
add an echo example
2019-05-16 20:51:39 +08:00
xtaci
19f7e2e17a
upd comments
2019-05-16 17:33:48 +08:00
xtaci
e2adf8df36
upd comment
2019-05-16 17:09:57 +08:00
xtaci
9a7974d233
add overview comment for package
2019-05-16 13:35:08 +08:00
xtaci
b72f21590b
comments
2019-05-16 13:08:14 +08:00
xtaci
98c5c61007
add some comments
2019-05-16 12:43:50 +08:00
xtaci
49cb73af81
rename var
2019-05-13 21:50:55 +08:00
xtaci
c30986f46b
move heavy ops out of sync once
2019-05-13 21:28:46 +08:00
xtaci
7ad4102a08
correct counting
2019-05-12 20:17:16 +08:00
xtaci
527f3f2771
remove
2019-05-12 20:06:07 +08:00