Commit Graph

79 Commits (41956e92a53c37a861c53a67aa82449b9b9aa258)

Author SHA1 Message Date
Darien Raymond 54e1bb96cc
introduce in-memory user
6 years ago
Darien Raymond 2e11653694
remove BufferedReader.Direct
6 years ago
Darien Raymond ebea255c74
eliminate partial writes
6 years ago
Darien Raymond 64a3333987
remove extra bytes reading
6 years ago
Darien Raymond 148a7d064d
simplify buf.BufferedReader
7 years ago
Darien Raymond 3997d13b97
rename Slice and Slice from to Resize and Advance
7 years ago
Darien Raymond 1425fd2ba9
remove Buffer.Append method
7 years ago
Darien Raymond 9d7f43a299
fix lint errors
7 years ago
Darien Raymond 9f198d7e3d
fix lint errors
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 b7d48fe7c5
prevent reading 0 bytes
7 years ago
Darien Raymond af1abf687c
unify all address reading and writing
7 years ago
Darien Raymond 1077e33d62
unify address reading in socks and shadowsocks
7 years ago
Darien Raymond 484bdeecc9
comments
7 years ago
Darien Raymond 81c4f23691
merge address writing
7 years ago
Darien Raymond 3aa5102036
lazy init of authenticator
7 years ago
Darien Raymond f6bb214d30
fix lint warnings
7 years ago
Darien Raymond cb68575444
support none cipher in shadowsocks
7 years ago
Darien Raymond 64e5430ed9
lazy init of authenticator
7 years ago
Darien Raymond fefb5c8e01
fix aead udp
7 years ago
Darien Raymond b64aceabcf
fix aead reader and writer
7 years ago
Darien Raymond 721bea5d54
fix lint warnings
7 years ago
Darien Raymond 6c0a1439c4
fix #739
7 years ago
Darien Raymond 02ab3f3494
refine aead check on server
7 years ago
Darien Raymond 9dbdcb3a39
fix check of AEAD cipher
7 years ago
Darien Raymond 80258c0542
handle AEAD cipher
7 years ago
Darien Raymond 713ebfb203
implementation for Shadowsocks AEAD
7 years ago
Darien Raymond 594ec15c09
cleanup buffer usage
7 years ago
Darien Raymond 26818a2602 fix domain length issue for all proxies
7 years ago
Darien Raymond f1a15e92f5 apply bitmask to other packages
7 years ago
Darien Raymond 1c856a46ab step 1 to remove reference to net package
7 years ago
Darien Raymond 326a54baea
refactor
8 years ago
Darien Raymond 3aa5343722
adjust error level
8 years ago
Darien Raymond d615874aa9
adjust error levels
8 years ago
Darien Raymond 6a90ce3c43
comments
8 years ago
Darien Raymond 498c7dafdf
clean udp writer
8 years ago
Darien Raymond d6988f1a63
simplify code
8 years ago
Darien Raymond 02ce3ffded
release buffer
8 years ago
Darien Raymond b1dfff2fdd
remove 8k buffer pool
8 years ago
Darien Raymond f506a39d32
multi buffer
8 years ago
Darien Raymond 7c1b3ac1f0
cleanup error messages
8 years ago
Darien Raymond 35248497d2
refactor error messages
8 years ago
Darien Raymond fc31f9b94c
refactor error interface
8 years ago
Darien Raymond e678000c44
remove release() pattern
8 years ago
Darien Raymond 76776ddf99
delay check of remote address
8 years ago
Darien Raymond 1948d0738f
refactor io package
8 years ago
Darien Raymond 055023fdd5
refactor buffer
8 years ago
Darien Raymond 7a80409e30
rename alloc to buf
8 years ago
Darien Raymond 341fa376a1
Buffer.SetByte
8 years ago