Commit Graph

140 Commits (4a663f2b25d8c2ffa9987095d432f44006d1e12a)

Author SHA1 Message Date
vcptr ad4a1a3dc2 show vmess decode errors at warning level
5 years ago
Darien Raymond 98950d5ada
remove dep of assert lib
6 years ago
Darien Raymond bdd71a44b4
remove dep on assert lib
6 years ago
Darien Raymond 28189197b3
remove dependency of assert lib
6 years ago
Darien Raymond c9958681f7
remove dependency on assert lib
6 years ago
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 815c7f09ba
migrate to std lib
6 years ago
Darien Raymond ee489c95b3
remove Port.Bytes()
6 years ago
Darien Raymond 58e2ed3381
remove closure on ReadFullFrom
6 years ago
Darien Raymond 4fcb39ded9
comments
6 years ago
Iskander Sharipov 0cf3599db2 s/len/length/ s/cap/capacity/ to avoid builtin shadowing
6 years ago
Darien Raymond 091fa6ad23
use new errorgen
6 years ago
Darien Raymond d55fbd7f8d
simplify error creation
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 eb05a92592
dont start periodic task until necessary
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 9a8488074e
env flag controlled global padding
6 years ago
Darien Raymond 64a3333987
remove extra bytes reading
6 years ago
Darien Raymond 8a879deac1
max padding len as variable
6 years ago
Darien Raymond f54a8735ab
global padding in vmess protocol
6 years ago
Darien Raymond 4a46817cf6
optimize map usage
7 years ago
Darien Raymond 13f3c356ca
unified task package
7 years ago
Darien Raymond 483a56c847
adjust lint settings
7 years ago
Darien Raymond 68da956fc4
re-generate code
7 years ago
Darien Raymond 1425fd2ba9
remove Buffer.Append method
7 years ago
Darien Raymond 413a3a4eb6
comments
7 years ago
Darien Raymond 0caf2a004b
reduce memory usage of vmess internal objects
7 years ago
Darien Raymond 66ed1bab2a
simplify BytesGenerator
7 years ago
DarienRaymond 61d9b04ca5
Merge pull request #1019 from v2ray/domainsocket
7 years ago
Darien Raymond 83625618ee
re-init maps when they are empty
7 years ago
Shelikhoo c542c043f3
Merge branch 'master' of github.com:v2ray/v2ray-core into domainsocket
7 years ago
Darien Raymond 7bafd7a1ab
migrate int to int32
7 years ago
Darien Raymond 4de3f1adc1
change ReadFullFrom to take int32 size
7 years ago
Darien Raymond fda85506c8
reuse buffer
7 years ago
Darien Raymond a1401e7632
fix compatibility with shadowrocket. fixes #920
7 years ago
Darien Raymond 6a3abf3147
fix data race when caching session id
7 years ago
Darien Raymond c43a5e7d85
use AddressParser in mux
7 years ago