1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-17 18:06:15 -05:00
Commit Graph

69 Commits

Author SHA1 Message Date
Darien Raymond
2d4a0f23d5
rewrite sending logic 2018-07-29 03:54:15 +02:00
Darien Raymond
bd4752a6ab
fix total inflight size 2018-07-08 22:08:26 +02:00
Darien Raymond
a8b0660df0
redo kcp.SendingWindow 2018-07-08 21:08:17 +02:00
Darien Raymond
4783b8f2c6
stop doing anything after being released. fixes #804 2018-02-25 22:13:42 +01:00
Darien Raymond
3a0f211c22
gofmt 2018-02-05 23:39:04 +01:00
Darien Raymond
630a76d06a
kcp cleanup 2018-01-17 17:36:14 +01:00
Darien Raymond
3cc6d8f653
fix a data race in KCP 2017-12-17 01:22:39 +01:00
Darien Raymond
2acef1cc07
cleanup kcp connection 2017-12-14 23:24:40 +01:00
Darien Raymond
19a0d21cb6
fix kcp write 2017-12-05 18:04:34 +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
d2897633a6
comments 2017-02-26 15:01:50 +01: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
40249dfacb
change API 2016-12-08 22:49:24 +01:00
Darien Raymond
d716d02cd8
correctly handle sending window length 2016-12-07 00:31:01 +01:00
Darien Raymond
a4019a6900
fast return on zero ack list 2016-12-02 21:40:58 +01:00
Darien Raymond
f95c322677
rename 'this' 2016-11-27 21:39:09 +01:00
Darien Raymond
d00f8eef56
remove use of 'v' as a variable name 2016-11-27 17:01:44 +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
0cd9f5165f
update kcp sending worker 2016-11-13 22:27:58 +01:00
Darien Raymond
33d2513e3c
reduce memory allocation in kcp 2016-11-01 12:07:20 +01:00
Darien Raymond
b5910dccae
simplify fast resend 2016-10-11 13:17:57 +02:00
Darien Raymond
f3a83c57ab
optimize ping and updater logic 2016-10-11 12:24:19 +02: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
e49fb2f50d
no compacting buffers 2016-08-25 11:41:05 +02:00
Darien Raymond
2ae8e5d033
rename buffer size 2016-08-24 23:54:39 +02:00
Darien Raymond
5d20e3f70b
remove sending queue 2016-08-24 15:47:14 +02:00
Darien Raymond
e6e0419958
format private annotation 2016-08-24 11:17:42 +02:00
v2ray
07a86f549b
unified import path 2016-08-20 20:55:45 +02:00
v2ray
2f0d602833
nil pointer protection 2016-08-07 08:45:03 +02:00
v2ray
0caf2e6d30
compact kcp stream 2016-08-07 01:01:44 +02:00
v2ray
00841583d2
reduce ack packet size and send peer RTO 2016-08-05 20:59:33 +02:00
v2ray
42efa5dde0
refine buffer usage in kcp 2016-07-28 16:24:15 +02:00
v2ray
066e5e216d
fill windows after processing acks 2016-07-15 23:23:21 +02:00
v2ray
72ee6436eb
more accurate of rtt calculation 2016-07-15 23:18:18 +02:00
v2ray
d5cd919cec
remove duplicated code 2016-07-15 21:41:15 +02:00
v2ray
631db6e69a
rename 2016-07-14 22:52:00 +02:00
v2ray
0acd3b6d62
improve sending performance 2016-07-14 17:38:20 +02:00
v2ray
05ed05b9a0
correctly release segments 2016-07-13 23:15:40 +02:00
v2ray
73afe9a001
use alloc.Buffer in sending queue 2016-07-13 21:47:40 +02:00
v2ray
c0a1198514
improve terminating performance 2016-07-12 23:54:54 +02:00
v2ray
205f8b382d
Fix race condition 2016-07-12 17:56:36 +02:00
v2ray
b50671f041
fix a bug in process ack 2016-07-12 13:43:25 +02:00
v2ray
a615afc906
refine locks in sending worker 2016-07-06 16:36:15 +02:00
v2ray
5448ec1fe4
refine locker in sending worker 2016-07-06 00:02:22 +02:00