Commit Graph

69 Commits (4c93d36d49c98cc41f69ed4c5e4373baef4e465a)

Author SHA1 Message Date
Darien Raymond a20262ef20
allocate buffer on stack
6 years ago
Darien Raymond 6c7dcc35ab
remove buffer.WriteBytes
6 years ago
Darien Raymond a14fae4b35
fix lint warnings
6 years ago
Darien Raymond 953bfac572
remove unnecessary assignment
6 years ago
Darien Raymond 77c03f0da5
move back to serial
6 years ago
Darien Raymond f7b96507f9
simplify buffer extension
6 years ago
Darien Raymond 35ccc3a49c
cleanup unnecessary method in serial.
6 years ago
Darien Raymond 58e2ed3381
remove closure on ReadFullFrom
6 years ago
Darien Raymond 4fcb39ded9
comments
6 years ago
Darien Raymond cb2658f2bf
Revert "pooled session objects"
6 years ago
Darien Raymond 2ad12084ba
Revert "put buffer into client session as allocation optimization"
6 years ago
Darien Raymond 81c9968188
simplify crypto related code
6 years ago
Darien Raymond 09b601528b
put buffer into client session as allocation optimization
6 years ago
Darien Raymond a89ff38fe6
pooled session objects
6 years ago
Darien Raymond 54e1bb96cc
introduce in-memory user
6 years ago
Darien Raymond 5e65d7da6d
more accurate memory usage when buffer = 0
6 years ago
Darien Raymond 8cfe77383f
writeHash
6 years ago
Darien Raymond 206f52affc
refine buffer interface
6 years ago
Darien Raymond f54a8735ab
global padding in vmess protocol
6 years ago
Darien Raymond 1425fd2ba9
remove Buffer.Append method
7 years ago
Darien Raymond 0caf2a004b
reduce memory usage of vmess internal objects
7 years ago
Darien Raymond 66ed1bab2a
simplify BytesGenerator
7 years ago
Darien Raymond 4de3f1adc1
change ReadFullFrom to take int32 size
7 years ago
Darien Raymond af1abf687c
unify all address reading and writing
7 years ago
Darien Raymond 546c2fb226
settings for forcing secure encryption in vmess server
7 years ago
Darien Raymond 6b872c266c
session id
7 years ago
Darien Raymond 42d83a703e
fix transfer for mux
7 years ago
Darien Raymond f4c35db968
merge log into common log
7 years ago
Darien Raymond 3ed16fad38
enable pading for cfb
7 years ago
Darien Raymond 02685094d3 rewrite vmess encoding using buf
7 years ago
Darien Raymond 26818a2602 fix domain length issue for all proxies
7 years ago
Darien Raymond 24089bfad0 remove duplicated address type def
7 years ago
Darien Raymond f1a15e92f5 apply bitmask to other packages
7 years ago
Darien Raymond 8971e699d9 common.Must2
7 years ago
Darien Raymond 21284fbd61
refactor
7 years ago
Darien Raymond 06d4c37889
integrate mux in vmess server
8 years ago
Darien Raymond 7a4bab4940
support packet transfer type in mux
8 years ago
Darien Raymond 939fae00e9
packet mode reader and writer
8 years ago
Darien Raymond e87b0ca848
size encoder and decoder
8 years ago
Darien Raymond 35248497d2
refactor error messages
8 years ago
Darien Raymond bc4e2293ef
remove errors.Format
8 years ago
Darien Raymond b4cd497abf
update error messages
8 years ago
Darien Raymond 75f5cb9afb
refactor log and error
8 years ago
Darien Raymond 3c032f0d53
update frame header masking strategy
8 years ago
Darien Raymond 104446afdf
update masking strategy
8 years ago
Darien Raymond d5b1762865
mask size bytes
8 years ago
Darien Raymond 6888093197
gofmt
8 years ago
Darien Raymond f046f334cd
move common/log to app/log
8 years ago
Darien Raymond cbebbc3e68
remove aggressive reader
8 years ago
Darien Raymond 73b5a51529
true none encryption
8 years ago