1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-10 06:16:53 -05:00
Commit Graph

437 Commits

Author SHA1 Message Date
Darien Raymond
91227581e5
noescape on asm functions 2018-11-19 00:33:20 +01:00
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
a20262ef20
allocate buffer on stack 2018-11-15 21:32:27 +01:00
Darien Raymond
6c7dcc35ab
remove buffer.WriteBytes 2018-11-14 22:55:20 +01:00
Darien Raymond
f7b96507f9
simplify buffer extension 2018-11-02 21:34:04 +01:00
Darien Raymond
35ccc3a49c
cleanup unnecessary method in serial. 2018-11-02 18:20:02 +01:00
Darien Raymond
815c7f09ba
migrate to std lib 2018-11-02 15:47:58 +01:00
Darien Raymond
58e2ed3381
remove closure on ReadFullFrom 2018-11-02 15:01:33 +01:00
Darien Raymond
351316490d
fix typos 2018-10-14 08:02:23 +02:00
Darien Raymond
091fa6ad23
use new errorgen 2018-09-30 23:08:41 +02:00
Darien Raymond
d55fbd7f8d
simplify error creation 2018-09-30 18:39:53 +02:00
Darien Raymond
00ea6e3cb2
update protobuf generated files 2018-09-30 18:39:28 +02:00
Darien Raymond
94b880d060
move session based info into session package 2018-09-18 23:09:54 +02:00
Darien Raymond
383b84e7dd
unified tproxy option 2018-09-17 15:12:58 +02:00
Darien Raymond
d068f357bd
update proto lib 2018-09-14 11:00:59 +02:00
Darien Raymond
b3847fb7c0
MemoryStreamSettings 2018-09-07 14:50:25 +02:00
Darien Raymond
fdb3a7b57d
remove use of buf.NewSize() 2018-08-16 12:05:33 +02:00
Darien Raymond
053fc38d38
refine udp hub api 2018-08-11 22:35:01 +02:00
Darien Raymond
c89531022f
fix kcp state wait 2018-08-09 13:38:47 +02:00
Darien Raymond
b238188770
delayed timer creation 2018-08-09 12:23:08 +02:00
Darien Raymond
63c7f5e686
check payload length before decrypting it. fixes #1227 2018-08-08 00:26:01 +02:00
Darien Raymond
b79ec5f1ed
use protocol in string form 2018-08-06 13:48:35 +02:00
Darien Raymond
206f52affc
refine buffer interface 2018-07-30 22:45:06 +02: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
18f3fb5196
comment 2018-07-29 10:47:50 +02:00
Darien Raymond
1ca3bb9750
remove segment pools 2018-07-29 03:54:24 +02:00
Darien Raymond
2d4a0f23d5
rewrite sending logic 2018-07-29 03:54:15 +02:00
Darien Raymond
a3fd81dfff
rework multibuf copy 2018-07-29 03:38:54 +02:00
Darien Raymond
9ee9af9e02
fix mb copy again 2018-07-29 03:23:59 +02:00
Darien Raymond
e0a2247a07
Revert "temporarily disable asm code"
This reverts commit 6e28b4f91d.
2018-07-29 03:15:14 +02:00
Darien Raymond
354ef3c27d
fix multibuffer copy 2018-07-29 03:13:29 +02:00
Darien Raymond
6e28b4f91d
temporarily disable asm code 2018-07-28 18:09:34 +02:00
Darien Raymond
4b63638dca
update protobuf lib 2018-07-25 00:36:28 +02:00
Darien Raymond
e3cc12995f
fix some lint errors 2018-07-19 13:31:57 +02:00
Darien Raymond
29ad2cbbdb
function to compare byte array 2018-07-12 23:38:10 +02:00
Darien Raymond
f8e6927581
pool for data and ack segments 2018-07-08 23:03:00 +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
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
ff0ae91b9b
update protobuf generated files 2018-06-26 16:28:54 +02:00
Darien Raymond
ac6a0f7511
update activity timer 2018-05-27 14:42:53 +02:00
Darien Raymond
68da956fc4
re-generate code 2018-05-25 11:56:01 +02:00
Darien Raymond
1425fd2ba9
remove Buffer.Append method 2018-04-19 22:56:55 +02:00
Shelikhoo
c542c043f3
Merge branch 'master' of github.com:v2ray/v2ray-core into domainsocket 2018-04-05 19:11:33 +08:00
Darien Raymond
009d58dd6c
remove static bytes array 2018-04-02 22:12:51 +02:00
Darien Raymond
81a147e540
Merge branch 'master' of https://github.com/v2ray/v2ray-core 2018-04-02 20:01:05 +02:00
Darien Raymond
08dab81eb2
migrate int to int32 2018-04-02 20:00:50 +02:00
wuxiangzhou2010
5a08411ee2 fix typo 2018-04-02 15:52:16 +08:00
Darien Raymond
bdab1af29a
update tls config generation 2018-02-28 15:15:22 +01:00
Darien Raymond
58e79dbdc5
refactor kcp.ReadSegment 2018-02-25 23:00:04 +01:00
Darien Raymond
4783b8f2c6
stop doing anything after being released. fixes #804 2018-02-25 22:13:42 +01:00
Darien Raymond
caa52e9327
early release buffers for better reusing 2018-02-25 00:02:31 +01:00
Darien Raymond
1e0cad50b1
buffered input in kcp client 2018-02-24 23:23:10 +01:00
Darien Raymond
ae395bbe1f
increase udp hub capacity 2018-02-12 15:08:20 +01:00
Darien Raymond
7391b2439e
simplify udp hub 2018-02-12 13:14:11 +01:00
Shelikhoo
7f34cbdaff
Add Generated Files 2018-02-12 14:17:14 +08:00
Darien Raymond
ae52e325a2
send ack more frequently too 2018-02-11 02:08:20 +01:00
Darien Raymond
0a6a9547a0
fix kcp for not sending data immediately 2018-02-11 02:06:43 +01:00
Darien Raymond
9fdb783729
fix kcp test 2018-02-08 16:22:44 +01:00
Darien Raymond
efcb567273
remove context in struct 2018-02-08 15:39:46 +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
a6c0ef11ba
check connection state for every write operation 2018-01-17 16:18:38 +01:00
Darien Raymond
9b15e2f6f7
more informational logs 2017-12-27 21:39:14 +01:00
Darien Raymond
8a09c6c926
migrate to signal.Semaphore and Notifier 2017-12-27 21:33:42 +01:00
Darien Raymond
f4c35db968
merge log into common log 2017-12-19 21:28:12 +01:00
Darien Raymond
3cc6d8f653
fix a data race in KCP 2017-12-17 01:22:39 +01:00
Darien Raymond
048ffbc7dc
simplify tls config 2017-12-17 00:53:17 +01:00
Darien Raymond
4fad49fef8
fix build break 2017-12-14 23:43:28 +01:00
Darien Raymond
2acef1cc07
cleanup kcp connection 2017-12-14 23:24:40 +01:00
Darien Raymond
0032760fdc
cleanup kcp connection 2017-12-14 23:02:10 +01:00
Darien Raymond
19a0d21cb6
fix kcp write 2017-12-05 18:04:34 +01:00
Darien Raymond
7709ee9b7f
more interface test 2017-12-03 23:11:29 +01:00
Darien Raymond
b3e6994e52
implement WriteMultiBuffer 2017-12-03 22:53:00 +01:00
Darien Raymond
be714f76f1
cleanup 2017-12-03 21:45:58 +01:00
Darien Raymond
bf7b8798a9
simplify kcp interface 2017-12-03 21:29:27 +01:00
Darien Raymond
e8e7921613
fix lint warnings 2017-12-03 16:40:10 +01:00
Darien Raymond
443fd7c9a5
2k buffer should be enough 2017-12-03 16:39:51 +01:00
Darien Raymond
85a93e9602
cleanup kcp 2017-12-03 14:56:00 +01:00
Darien Raymond
d43a23aa96
move error generator to common 2017-12-03 01:04:57 +01:00
Darien Raymond
2371617a22
fix lint warnings 2017-11-23 23:46:46 +01:00
Darien Raymond
594ec15c09
cleanup buffer usage 2017-11-09 22:33:15 +01:00
Darien Raymond
66b82e4ab7
cleanup MultiBuffer 2017-11-09 00:55:28 +01:00
Darien Raymond
6c9a60100d format code 2017-10-26 21:44:22 +02:00
Darien Raymond
af88016320 fix #643 2017-10-26 11:43:02 +02:00
Darien Raymond
74cf833758 fully migrate to new assertion lib 2017-10-24 16:15:35 +02:00
Darien Raymond
2a04819582 fix data race in kcp connection 2017-10-20 23:30:14 +02:00
Darien Raymond
8971e699d9 common.Must2 2017-09-19 23:27:49 +02:00
Darien Raymond
fbbed156db fix lint warnings 2017-08-29 14:50:53 +02:00
Darien Raymond
1c856a46ab step 1 to remove reference to net package 2017-08-29 12:56:57 +02:00
Darien Raymond
4059a965ff fix asm compiler warning 2017-08-22 14:21:16 +02:00
Darien Raymond
5829b45bbe
close timer faster 2017-05-09 00:01:15 +02:00
Darien Raymond
2e756cdaa8
refactor 2017-04-27 11:54:15 +02:00
Darien Raymond
cea6e28634
refactor 2017-04-23 13:41:52 +02:00