Commit Graph

67 Commits (e33e450e48476815d9eaad80b643e1d78f7ff44e)

Author SHA1 Message Date
Darien Raymond cb7646f682
remove unnecessary err object from SplitBytes 2018-11-18 19:44:32 +01:00
Darien Raymond 842a089dad
refactor multibuffer 2018-11-18 19:36:36 +01:00
Darien Raymond 0f324a613e
remove MultiBuffer.Release 2018-11-17 22:45:07 +01:00
Darien Raymond 27772a75a7
refactor MultiBuffer append 2018-11-17 09:12:20 +01:00
Darien Raymond 48cac1733f
remove NewMultiBufferCap 2018-11-16 11:29:16 +01:00
Darien Raymond 3b0bfe9422
check empty 2018-07-29 15:10:06 +02:00
Darien Raymond 47f1399995
check errors 2018-07-29 13:19:03 +02:00
Darien Raymond f8e6927581
pool for data and ack segments 2018-07-08 23:03:00 +02:00
Darien Raymond bbeae5be48
redo kcp.ReceivingWindow 2018-07-08 12:24:37 +02:00
Darien Raymond 6315217572
fix receiving window size 2018-07-02 15:30:23 +02:00
Darien Raymond 630a76d06a
kcp cleanup 2018-01-17 17:36:14 +01:00
Darien Raymond 2acef1cc07
cleanup kcp connection 2017-12-14 23:24:40 +01:00
Darien Raymond b3e6994e52
implement WriteMultiBuffer 2017-12-03 22:53:00 +01:00
Darien Raymond 85a93e9602
cleanup kcp 2017-12-03 14:56:00 +01:00
Darien Raymond 66b82e4ab7
cleanup MultiBuffer 2017-11-09 00:55:28 +01:00
Darien Raymond 2a04819582 fix data race in kcp connection 2017-10-20 23:30:14 +02:00
Darien Raymond f01b0552a9
direct multibuf reading from kcp engine 2017-04-20 15:02:35 +02:00
Darien Raymond ebed271a92
fix race conditions in kcp 2017-02-18 00:04:25 +01:00
Darien Raymond ceaf5d1178
fix lint warnings 2016-12-21 15:37:16 +01:00
Darien Raymond cdcccb4590
simplify segment writer 2016-12-20 22:53:58 +01:00
Darien Raymond 7a80409e30
rename alloc to buf 2016-12-09 11:35:27 +01:00
Darien Raymond 8c8f0a53fd
rewrite alloc.buffer 2016-12-06 11:03:42 +01:00
Darien Raymond 207c7aa8a7
flush acklist when dirty 2016-12-02 16:49:33 +01:00
Darien Raymond 31fbb62d0f
add back flush timeout 2016-11-29 17:12:09 +01:00
Darien Raymond 3be9519ed4
send more ack seg 2016-11-29 08:31:19 +01:00
Darien Raymond 2dc74faf19
send more ack numbers if not full 2016-11-28 22:06:32 +01:00
Darien Raymond f95c322677
rename 'this' 2016-11-27 21:39:09 +01:00
Darien Raymond 15cb543abb
release memory in kcp connection 2016-11-21 22:41:12 +01:00
Darien Raymond 4ee758c4d2
simplify kcp logic 2016-11-18 16:19:13 +01:00
Darien Raymond e72f8a26c8
min timeout 2016-11-13 22:29:31 +01:00
Darien Raymond 7a09fcdc2f
increase kcp ack frequency 2016-11-08 00:35:14 +01:00
Darien Raymond e023859ef0
stop data updating thread when there is no data 2016-10-10 16:50:54 +02:00
Darien Raymond 1d13f47f9c
protobuf for stream settings 2016-10-02 23:43:58 +02:00
Darien Raymond 3fd66ad795
remove PingNecessary() 2016-08-25 12:00:31 +02:00
Darien Raymond fcad4aa212
adjust receiving buffer size 2016-08-25 09:45:56 +02:00
Darien Raymond 2ae8e5d033
rename buffer size 2016-08-24 23:54:39 +02:00
Darien Raymond 2839ce7a88
simplify receiving worker 2016-08-24 23:51:53 +02:00
v2ray 07a86f549b
unified import path 2016-08-20 20:55:45 +02:00
v2ray 00841583d2
reduce ack packet size and send peer RTO 2016-08-05 20:59:33 +02:00
v2ray 631db6e69a
rename 2016-07-14 22:52:00 +02:00
v2ray 205f8b382d
Fix race condition 2016-07-12 17:56:36 +02:00
v2ray 56ce062154
refine connection.read 2016-07-06 17:34:38 +02:00
v2ray 78ef65e17b
refine locker in kcp connection 2016-07-05 23:53:46 +02:00
v2ray e44b374e66
merge kcp into connection 2016-07-05 23:02:52 +02:00
v2ray 16d1b42f59
refine seg allocation 2016-07-05 14:08:08 +02:00
v2ray 34fb72e7c6
refine ack seg put 2016-07-05 10:33:11 +02:00
v2ray 13e83c17a5
apply sync.Pool to segments 2016-07-05 10:28:23 +02:00
v2ray 8ea3c13236
rename ISegment -> Segment 2016-07-04 14:17:42 +02:00
v2ray 0eaa3ba27a
refactor code 2016-07-03 09:38:51 +02:00
v2ray 84889117e9
simplify logic 2016-07-03 00:38:33 +02:00