Commit Graph

956 Commits (03512a6a9b5444687fdd3007c31b39e3bbe56fb1)

Author SHA1 Message Date
Darien Raymond 03512a6a9b
read size to multi buffer
7 years ago
Darien Raymond 053d03349a
refactor
7 years ago
Darien Raymond 90f2480037
trace context
7 years ago
Darien Raymond fa63beceb6
fix double release on buffers
7 years ago
Darien Raymond 12181f527f
defensive fix for improper usage of buf.New().
7 years ago
Darien Raymond e44394ade5
more informational error
7 years ago
Jinqiu Yu eb38f4865e Fix another typo
7 years ago
Darien Raymond 1cbfeea0cd
simplify NewSize calls
7 years ago
Darien Raymond 994aecd13c
rename NewLocal to NewSize
7 years ago
Darien Raymond f97e6fa3d2
refine buffer allocation
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 6e293f492c
verify command
7 years ago
Darien Raymond b7d48fe7c5
prevent reading 0 bytes
7 years ago
Darien Raymond 6a3abf3147
fix data race when caching session id
7 years ago
DarienRaymond fec56dda70
Merge pull request #883 from yujinqiu/fix-dup-func-call
7 years ago
Jinqiu Yu 2c56f5fd9c Remove duplicate len function call.
7 years ago
Darien Raymond caa52e9327
early release buffers for better reusing
7 years ago
Darien Raymond c43a5e7d85
use AddressParser in mux
7 years ago
Darien Raymond 61c258f2be
input channel was being closed too quickly
7 years ago
Darien Raymond af1abf687c
unify all address reading and writing
7 years ago
Darien Raymond a059ee2c00
fix lint errors
7 years ago
Darien Raymond 798212b311
fix timer settings
7 years ago
Darien Raymond 768e30c37b
disable socks 4 when auth is required.
7 years ago
Darien Raymond 16c6a5f078
fix test break
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 80a1e73361
fix error propagation in vmess server
7 years ago
Darien Raymond cdfbd0317f
remove unused function
7 years ago
Darien Raymond 0920af171b
remove redundent code
7 years ago
Darien Raymond 1077e33d62
unify address reading in socks and shadowsocks
7 years ago
Darien Raymond 88b25d38cb
simplify context retrieval
7 years ago
Darien Raymond 1f8fcb558d
fix error handling in freedom, shadowsocks and socks
7 years ago
Darien Raymond 226d65c6c7
fix error handling in vmess outbound
7 years ago
Darien Raymond e7858e78d5
properly set timeout in dokodemo door
7 years ago
Darien Raymond 03ba5ef4cb
properly close shadowsocks client udp connection
7 years ago
Darien Raymond 34f51c6a0d
enable mux command for next version
7 years ago
Darien Raymond 6f4bddd62e
disable mux command temporarily
7 years ago
Darien Raymond 92aef24f98
remove unnecessary proxy functions
7 years ago
Darien Raymond 42d83a703e
fix transfer for mux
7 years ago
Darien Raymond 30a0aa6fb0
don't read 0 bytes
7 years ago
Darien Raymond 8460d016ab
fix address parsing for mux
7 years ago
Darien Raymond 05d93e5eb0
fix handling for empty email addresses
7 years ago
Darien Raymond 87ba7dd0d1
implement remove user in vmess
7 years ago
Darien Raymond 5755d4153a
fix encoding test
7 years ago
Darien Raymond efcb567273
remove context in struct
7 years ago
Darien Raymond a1ae4aa515
cleanup session history
7 years ago
Darien Raymond 3a0f211c22
gofmt
7 years ago
Darien Raymond 1e6d5561cc
prototype of commander
7 years ago
Darien Raymond cf832a4272
adjust init sequence
7 years ago