1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 18:17:52 -05:00
Commit Graph

286 Commits

Author SHA1 Message Date
Shelikhoo
d1b44619b0
Solve #218: Supporting substitute of the default Dialer, this is a prerequisite of Libv2ray's support of Android VPNService mode; It is not recommanded to modify exported func introduced by this commit. 2016-07-26 16:33:12 +08:00
v2ray
85d6e1ad13
prepend hash 2016-07-17 23:11:05 +02:00
v2ray
1931820c4c
leverage local buffer 2016-07-17 12:59:57 +02:00
v2ray
a39132f4c2
update log 2016-07-16 22:14:20 +02:00
v2ray
bf2d45a83d
use local buffer when fetching input 2016-07-16 22:08:59 +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
f6d4e599bd
configurable read and write buffer size 2016-07-15 21:27:23 +02:00
v2ray
631db6e69a
rename 2016-07-14 22:52:00 +02:00
v2ray
ef2d49302d
rename command 2016-07-14 22:10:37 +02:00
v2ray
ffdce592ec
remove sync.Pool from segment allocation 2016-07-14 21:42:00 +02:00
v2ray
906d846c2e
update test case 2016-07-14 21:31:54 +02:00
v2ray
c32f1a0152
update test case 2016-07-14 21:31:04 +02:00
v2ray
991b2703dc
improve writing performance 2016-07-14 17:39:12 +02:00
v2ray
0acd3b6d62
improve sending performance 2016-07-14 17:38:20 +02:00
v2ray
476b3c68d2
introduce a new state: peer terminating 2016-07-14 12:57:14 +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
c7b0264f9a
lock in udp hub 2016-07-13 21:39:18 +02:00
v2ray
d602025908
update test performance 2016-07-13 09:19:51 +02:00
v2ray
c0a1198514
improve terminating performance 2016-07-12 23:54:54 +02:00
v2ray
9a44ff3145
static conv 2016-07-12 18:54:16 +02:00
v2ray
9434f5156c
fix memory leak 2016-07-12 18:27:14 +02:00
v2ray
205f8b382d
Fix race condition 2016-07-12 17:56:36 +02:00
v2ray
94d4b02191
non blocking flusing 2016-07-12 17:37:12 +02:00
v2ray
b68075a99d
test case for kcp read write 2016-07-12 17:11:36 +02:00
v2ray
4c63e9e168
improve fetch performance 2016-07-12 14:32:17 +02:00
v2ray
f7d54d57c4
remove lastpayloadtime 2016-07-12 14:23:42 +02:00
v2ray
b50671f041
fix a bug in process ack 2016-07-12 13:43:25 +02:00
v2ray
63390786ed
test case for read timeout 2016-07-12 13:27:12 +02:00
v2ray
a88a120938
Fix deadlock in kcp.read 2016-07-12 12:54:09 +02:00
v2ray
12d13f1560
refine log in KCP 2016-07-11 17:24:35 +02:00
v2ray
636effbe38
more accurate source id 2016-07-10 15:58:55 +02:00
v2ray
5e7d413404
allow insecure connections 2016-07-10 15:30:48 +02:00
v2ray
be81d246f2
rename json fields 2016-07-10 15:29:03 +02:00
v2ray
754e8b6e78
tls config 2016-07-10 15:27:58 +02:00
v2ray
1e3ebeef59
reduce buffer size 2016-07-06 17:58:15 +02:00
v2ray
56ce062154
refine connection.read 2016-07-06 17:34:38 +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
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
344e48e1bb
completely remove itimediff 2016-07-05 21:47:35 +02:00
v2ray
16d1b42f59
refine seg allocation 2016-07-05 14:08:08 +02:00
v2ray
6efff7654c
leverage pool functions 2016-07-05 11:36:05 +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
e170750d7e
fix test 2016-07-04 17:01:32 +02:00
v2ray
6ea8691a07
correctly apply cwnd 2016-07-04 15:54:18 +02:00
v2ray
d1d153acb9
refine congestion control 2016-07-04 15:34:14 +02:00
v2ray
8ea3c13236
rename ISegment -> Segment 2016-07-04 14:17:42 +02:00
v2ray
03ff683686
rename process ack segment 2016-07-04 14:17:11 +02:00
v2ray
165e323fab
refine sending window size 2016-07-04 13:37:42 +02:00
v2ray
6a1054a0f3
allow capacity = 0 2016-07-04 13:31:21 +02:00
v2ray
9c3ebc0453
allow control window larger than sending window 2016-07-03 23:16:48 +02:00
v2ray
968fffcffb
fix test break 2016-07-03 22:33:08 +02:00
v2ray
e4acfe7f7e
sending worker 2016-07-03 22:14:38 +02:00
v2ray
0eaa3ba27a
refactor code 2016-07-03 09:38:51 +02:00
v2ray
f8a614714c
sending window fix 2016-07-03 09:38:40 +02:00
v2ray
ab2cef1c09
shrink_buf 2016-07-03 00:57:28 +02:00
v2ray
84889117e9
simplify logic 2016-07-03 00:38:33 +02:00
v2ray
e5c4fd3e1c
remove unused variables 2016-07-03 00:27:01 +02:00
v2ray
490f77b4a0
cleanup 2016-07-03 00:00:43 +02:00
v2ray
7bc6d8af88
remove nodelay function 2016-07-02 23:59:43 +02:00
v2ray
951b278ac7
test case for receiving queue 2016-07-02 23:37:51 +02:00
v2ray
6416c42bee
rename NewAckList 2016-07-02 23:18:12 +02:00
v2ray
a1af9ea839
refine locks 2016-07-02 22:28:28 +02:00
v2ray
3ad83da7cb
rename acksegment 2016-07-02 22:17:41 +02:00
v2ray
32da784549
remove deadlock 2016-07-02 22:06:37 +02:00
v2ray
080f0abee9
receiving worker 2016-07-02 21:26:50 +02:00
v2ray
3e84e4cb44
rename acklist 2016-07-02 11:33:34 +02:00
v2ray
e1ce179b8e
remove unnecessary constants 2016-07-02 11:31:15 +02:00
v2ray
94fb16fdfa
refine kcp constructor 2016-07-02 11:19:32 +02:00
v2ray
a2abdc3d2f
refine mtu settings 2016-07-02 08:45:31 +02:00
v2ray
8e98ede75d
shrink buf in time 2016-07-01 23:27:57 +02:00
v2ray
2169dcd7da
fix a bug in length calculation 2016-07-01 22:54:59 +02:00
v2ray
829355e6bf
correctly calculate len of sending window 2016-07-01 15:54:04 +02:00
v2ray
dc53575540
bug fixes in sending window 2016-07-01 12:12:32 +02:00
v2ray
4c74e25319
sending window 2016-07-01 11:57:13 +02:00
v2ray
48d4f5b7bb
remove acklist test for the moment 2016-07-01 11:57:06 +02:00
v2ray
aa46e4ea05
extend ack timeout 2016-06-30 22:19:57 +02:00
v2ray
d63330d15e
refine ack list flushing 2016-06-30 22:19:30 +02:00
v2ray
5680c69146
locker protected ReceivingQueue.Put 2016-06-30 16:58:38 +02:00
v2ray
a1f5839461
receiving queue 2016-06-30 14:51:49 +02:00
v2ray
a6649fa0ff
remove unused variables 2016-06-30 11:35:35 +02:00
v2ray
9d83fbcb7c
fix cwnd 2016-06-30 11:19:35 +02:00
v2ray
7056b414e2
length protection in ReadSegment 2016-06-30 00:12:36 +02:00
v2ray
f050113925
fix #185 2016-06-30 00:08:20 +02:00
v2ray
98cc28a4c4
leverage dice.Roll 2016-06-29 23:53:50 +02:00
v2ray
71c9bd678c
Fix receiving update 2016-06-29 23:41:04 +02:00
v2ray
313b3c1db0
shrink buf for all type of segments 2016-06-29 22:49:38 +02:00
v2ray
812ac54290
congestion control 2016-06-29 22:30:38 +02:00
v2ray
af5a2ac0bc
allow small capacity 2016-06-29 16:46:26 +02:00
v2ray
6e615c5863
correctly measure payload time 2016-06-29 14:49:49 +02:00
v2ray
c5170a36f0
agreesively close unresponding connections 2016-06-29 13:42:11 +02:00
v2ray
0047910a81
bug fixes 2016-06-29 12:52:23 +02:00
v2ray
d958b9884e
apply new classes to kcp core 2016-06-29 10:34:34 +02:00
v2ray
aa6726a6d0
segment.releasable 2016-06-27 22:54:59 +02:00
v2ray
41b230994e
segment writer 2016-06-27 22:52:48 +02:00