Commit Graph

68 Commits (a5ed9e00abdc6fd3a8a5951b14c3e358234b1d25)

Author SHA1 Message Date
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 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
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 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 f54a8735ab
global padding in vmess protocol 2018-07-07 15:42:24 +02:00
Darien Raymond 1425fd2ba9
remove Buffer.Append method 2018-04-19 22:56:55 +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 4de3f1adc1
change ReadFullFrom to take int32 size 2018-04-02 00:44:47 +02: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 6b872c266c
session id 2018-02-22 15:26:00 +01:00
Darien Raymond 42d83a703e
fix transfer for mux 2018-02-09 22:29:30 +01:00
Darien Raymond f4c35db968
merge log into common log 2017-12-19 21:28:12 +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 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
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 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 bc4e2293ef
remove errors.Format 2017-04-09 00:31:06 +02:00
Darien Raymond b4cd497abf
update error messages 2017-04-06 22:00:32 +02:00
Darien Raymond 75f5cb9afb
refactor log and error 2017-04-06 21:13:17 +02: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 d5b1762865
mask size bytes 2017-02-14 10:11:26 +01:00
Darien Raymond 6888093197
gofmt 2017-02-10 16:42:24 +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
Darien Raymond 73b5a51529
true none encryption 2017-01-22 20:43:01 +01:00
Darien Raymond b40a139310
simplify import 2017-01-13 23:42:39 +01:00