Commit Graph

73 Commits (be56feead372b69478a0c647d4133e6c2b87fff1)

Author SHA1 Message Date
Darien Raymond cb2658f2bf
Revert "pooled session objects"
This reverts commit a89ff38fe6.
2018-09-14 16:51:46 +02:00
Darien Raymond 81c9968188
simplify crypto related code 2018-09-12 15:43:36 +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 64a3333987
remove extra bytes reading 2018-07-09 17:26:43 +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 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
Darien Raymond 83625618ee
re-init maps when they are empty 2018-04-07 23:07:30 +02:00
Darien Raymond 4de3f1adc1
change ReadFullFrom to take int32 size 2018-04-02 00:44:47 +02: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 af1abf687c
unify all address reading and writing 2018-02-23 23:42:01 +01:00
Darien Raymond 546c2fb226
settings for forcing secure encryption in vmess server 2018-02-23 12:13:02 +01:00
Darien Raymond 80a1e73361
fix error propagation in vmess server 2018-02-22 15:25:26 +01: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 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 02685094d3 rewrite vmess encoding using buf 2017-10-27 21:11:45 +02:00
Darien Raymond 24089bfad0 remove duplicated address type def 2017-10-21 21:59:46 +02:00
Darien Raymond f1a15e92f5 apply bitmask to other packages 2017-10-21 21:04:24 +02:00
Darien Raymond 8971e699d9 common.Must2 2017-09-19 23:27:49 +02:00
Darien Raymond 21284fbd61
refactor 2017-07-25 22:21:59 +02:00
Darien Raymond 06d4c37889
integrate mux in vmess server 2017-05-17 21:13:01 +02:00
Darien Raymond 7a4bab4940
support packet transfer type in mux 2017-05-02 22:23:07 +02:00
Darien Raymond 939fae00e9
packet mode reader and writer 2017-05-02 00:28:16 +02:00
Darien Raymond 4668f9d3de
refactor 2017-04-25 23:51:04 +02:00
Darien Raymond e87b0ca848
size encoder and decoder 2017-04-23 13:30:08 +02:00
Darien Raymond 35248497d2
refactor error messages 2017-04-09 01:43:25 +02:00
Darien Raymond b4cd497abf
update error messages 2017-04-06 22:00:32 +02:00
Darien Raymond fc31f9b94c
refactor error interface 2017-04-06 15:13:09 +02:00
Darien Raymond 3112d3a2d3
typo 2017-02-21 15:48:21 +01:00
Darien Raymond 3c032f0d53
update frame header masking strategy 2017-02-14 14:16:43 +01:00
Darien Raymond 104446afdf
update masking strategy 2017-02-14 10:55:45 +01:00
Darien Raymond 8d6a4d0a8a
Merge branch 'master' of https://github.com/v2ray/v2ray-core 2017-02-14 10:13:13 +01:00
Darien Raymond 0d83330ced
condition session history 2017-02-14 10:13:09 +01:00
Darien Raymond d5b1762865
mask size bytes 2017-02-14 10:11:26 +01:00
Darien Raymond ec95caa946
per inbound session history 2017-02-12 16:53:23 +01:00
Darien Raymond 3e10f3ae69
server side anti reply attack 2017-02-12 13:57:36 +01:00
Darien Raymond 8afdbbfc9f
fix error usage 2017-02-02 10:51:15 +01:00
Darien Raymond f046f334cd
move common/log to app/log 2017-02-01 21:35:40 +01:00
Darien Raymond cbebbc3e68
remove aggressive reader 2017-01-30 22:07:22 +01:00