1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-29 23:36:25 -04:00
Commit Graph

141 Commits

Author SHA1 Message Date
Shelikhoo
e0aa18b6f3
Drain Connection with invalid checksum before closing. Emergency fix for weakness described in https://github.com/v2ray/v2ray-core/issues/2523 2020-06-01 16:40:54 +08:00
vcptr
ad4a1a3dc2 show vmess decode errors at warning level 2019-08-27 09:29:29 +08:00
Darien Raymond
98950d5ada
remove dep of assert lib 2019-02-10 15:02:28 +01:00
Darien Raymond
bdd71a44b4
remove dep on assert lib 2019-02-02 22:19:30 +01:00
Darien Raymond
28189197b3
remove dependency of assert lib 2019-02-01 14:38:14 +01:00
Darien Raymond
c9958681f7
remove dependency on assert lib 2019-01-31 20:57:01 +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
a14fae4b35
fix lint warnings 2018-11-13 23:19:58 +01:00
Darien Raymond
953bfac572
remove unnecessary assignment 2018-11-13 09:51:55 +01:00
Darien Raymond
77c03f0da5
move back to serial 2018-11-03 13:03:02 +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
ee489c95b3
remove Port.Bytes() 2018-11-02 15:14:34 +01:00
Darien Raymond
58e2ed3381
remove closure on ReadFullFrom 2018-11-02 15:01:33 +01:00
Darien Raymond
4fcb39ded9
comments 2018-10-18 09:25:58 +02:00
Iskander Sharipov
0cf3599db2 s/len/length/ s/cap/capacity/ to avoid builtin shadowing 2018-10-01 12:03:23 +03: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
cb2658f2bf
Revert "pooled session objects"
This reverts commit a89ff38fe6.
2018-09-14 16:51:46 +02:00
Darien Raymond
2ad12084ba
Revert "put buffer into client session as allocation optimization"
This reverts commit 09b601528b.
2018-09-14 16:51:12 +02:00
Darien Raymond
81c9968188
simplify crypto related code 2018-09-12 15:43:36 +02:00
Darien Raymond
09b601528b
put buffer into client session as allocation optimization 2018-09-12 15:27:45 +02:00
Darien Raymond
a89ff38fe6
pooled session objects 2018-09-11 20:15:15 +02:00
Darien Raymond
eb05a92592
dont start periodic task until necessary 2018-08-29 23:00:01 +02:00
Darien Raymond
54e1bb96cc
introduce in-memory user 2018-08-27 00:11:32 +02:00
Darien Raymond
5e65d7da6d
more accurate memory usage when buffer = 0 2018-07-31 16:05:57 +02:00
Darien Raymond
8cfe77383f
writeHash 2018-07-30 22:54:24 +02:00
Darien Raymond
206f52affc
refine buffer interface 2018-07-30 22:45:06 +02:00
Darien Raymond
9a8488074e
env flag controlled global padding 2018-07-18 10:40:28 +02:00
Darien Raymond
64a3333987
remove extra bytes reading 2018-07-09 17:26:43 +02:00
Darien Raymond
8a879deac1
max padding len as variable 2018-07-08 21:46:13 +02:00
Darien Raymond
f54a8735ab
global padding in vmess protocol 2018-07-07 15:42:24 +02:00
Darien Raymond
4a46817cf6
optimize map usage 2018-05-31 12:05:25 +02:00
Darien Raymond
13f3c356ca
unified task package 2018-05-27 13:02:29 +02:00
Darien Raymond
483a56c847
adjust lint settings 2018-05-26 00:47:51 +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
Darien Raymond
413a3a4eb6
comments 2018-04-14 15:39:09 +02:00
Darien Raymond
0caf2a004b
reduce memory usage of vmess internal objects 2018-04-14 15:05:49 +02:00
Darien Raymond
66ed1bab2a
simplify BytesGenerator 2018-04-14 13:10:12 +02:00
DarienRaymond
61d9b04ca5
Merge pull request #1019 from v2ray/domainsocket
Implemented Primitive Domain Socket Support described in https://github.com/v2ray/Planning/issues/25
2018-04-09 12:42:42 +02:00
Darien Raymond
83625618ee
re-init maps when they are empty 2018-04-07 23:07:30 +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
7bafd7a1ab
migrate int to int32 2018-04-03 11:32:03 +02:00
Darien Raymond
4de3f1adc1
change ReadFullFrom to take int32 size 2018-04-02 00:44:47 +02:00
Darien Raymond
fda85506c8
reuse buffer 2018-03-09 11:26:00 +01:00
Darien Raymond
a1401e7632
fix compatibility with shadowrocket. fixes #920 2018-03-06 10:59:37 +01:00
Darien Raymond
6a3abf3147
fix data race when caching session id 2018-02-26 17:49:53 +01:00