Commit Graph

120 Commits (2ad12084ba38640fff42f35c83705b1c28754e54)

Author SHA1 Message Date
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
Darien Raymond c43a5e7d85
use AddressParser in mux 2018-02-24 00:57:54 +01:00
Darien Raymond af1abf687c
unify all address reading and writing 2018-02-23 23:42:01 +01:00
Darien Raymond 16c6a5f078
fix test break 2018-02-23 12:36:33 +01:00
Darien Raymond 546c2fb226
settings for forcing secure encryption in vmess server 2018-02-23 12:13:02 +01:00
Darien Raymond 6b872c266c
session id 2018-02-22 15:26:00 +01:00
Darien Raymond 80a1e73361
fix error propagation in vmess server 2018-02-22 15:25:26 +01:00
Shelikhoo 7f34cbdaff
Add Generated Files 2018-02-12 14:17:14 +08:00
Darien Raymond 42d83a703e
fix transfer for mux 2018-02-09 22:29:30 +01:00
Darien Raymond 30a0aa6fb0
don't read 0 bytes 2018-02-09 17:56:39 +01:00
Darien Raymond 8460d016ab
fix address parsing for mux 2018-02-09 17:48:09 +01:00
Darien Raymond 5755d4153a
fix encoding test 2018-02-08 16:13:27 +01:00
Darien Raymond efcb567273
remove context in struct 2018-02-08 15:39:46 +01:00
Darien Raymond a1ae4aa515
cleanup session history 2018-02-07 16:35:22 +01:00
Darien Raymond 0e01e28278
use uuid as struct 2018-01-18 23:25:48 +01:00
Darien Raymond f4c35db968
merge log into common log 2017-12-19 21:28:12 +01:00
Darien Raymond d43a23aa96
move error generator to common 2017-12-03 01:04:57 +01:00
Darien Raymond 3ed16fad38
enable pading for cfb 2017-11-23 15:21:57 +01:00
Darien Raymond 02685094d3 rewrite vmess encoding using buf 2017-10-27 21:11:45 +02:00
Darien Raymond 74cf833758 fully migrate to new assertion lib 2017-10-24 16:15:35 +02:00
Darien Raymond 26818a2602 fix domain length issue for all proxies 2017-10-22 20:17:06 +02:00
Darien Raymond 24089bfad0 remove duplicated address type def 2017-10-21 21:59:46 +02:00