Commit Graph

77 Commits (73a111108350d636c66977ee127727240122208a)

Author SHA1 Message Date
Darien Raymond ebea255c74
eliminate partial writes 2018-07-28 15:03:40 +02:00
Darien Raymond 64a3333987
remove extra bytes reading 2018-07-09 17:26:43 +02:00
Darien Raymond 148a7d064d
simplify buf.BufferedReader 2018-04-21 00:54:53 +02:00
Darien Raymond 3997d13b97
rename Slice and Slice from to Resize and Advance 2018-04-19 23:48:38 +02:00
Darien Raymond 1425fd2ba9
remove Buffer.Append method 2018-04-19 22:56:55 +02:00
Darien Raymond 9d7f43a299
fix lint errors 2018-04-11 16:15:29 +02:00
Darien Raymond 9f198d7e3d
fix lint errors 2018-04-04 00:29:30 +02:00
Darien Raymond 4de3f1adc1
change ReadFullFrom to take int32 size 2018-04-02 00:44:47 +02:00
Darien Raymond fda85506c8
reuse buffer 2018-03-09 11:26:00 +01:00
Darien Raymond b7d48fe7c5
prevent reading 0 bytes 2018-02-26 17:50:14 +01:00
Darien Raymond af1abf687c
unify all address reading and writing 2018-02-23 23:42:01 +01:00
Darien Raymond 1077e33d62
unify address reading in socks and shadowsocks 2018-02-22 10:31:08 +01:00
Darien Raymond 484bdeecc9
comments 2017-12-14 15:02:36 +01:00
Darien Raymond 81c4f23691
merge address writing 2017-12-04 00:55:34 +01:00
Darien Raymond 3aa5102036
lazy init of authenticator 2017-11-29 23:08:02 +01:00
Darien Raymond f6bb214d30
fix lint warnings 2017-11-29 22:57:18 +01:00
Darien Raymond cb68575444
support none cipher in shadowsocks 2017-11-29 22:19:04 +01:00
Darien Raymond 64e5430ed9
lazy init of authenticator 2017-11-27 10:42:51 +01:00
Darien Raymond fefb5c8e01
fix aead udp 2017-11-26 21:51:30 +01:00
Darien Raymond b64aceabcf
fix aead reader and writer 2017-11-26 16:56:01 +01:00
Darien Raymond 721bea5d54
fix lint warnings 2017-11-26 15:13:33 +01:00
Darien Raymond 6c0a1439c4
fix #739 2017-11-26 14:18:23 +01:00
Darien Raymond 02ab3f3494
refine aead check on server 2017-11-26 01:02:10 +01:00
Darien Raymond 9dbdcb3a39
fix check of AEAD cipher 2017-11-26 00:59:56 +01:00
Darien Raymond 80258c0542
handle AEAD cipher 2017-11-26 00:58:57 +01:00
Darien Raymond 713ebfb203
implementation for Shadowsocks AEAD 2017-11-26 00:51:54 +01:00
Darien Raymond 594ec15c09
cleanup buffer usage 2017-11-09 22:33:15 +01:00
Darien Raymond 26818a2602 fix domain length issue for all proxies 2017-10-22 20:17:06 +02:00
Darien Raymond f1a15e92f5 apply bitmask to other packages 2017-10-21 21:04:24 +02:00
Darien Raymond 1c856a46ab step 1 to remove reference to net package 2017-08-29 12:56:57 +02:00
Darien Raymond 326a54baea
refactor 2017-04-27 00:19:49 +02:00
Darien Raymond 3aa5343722
adjust error level 2017-04-27 00:09:01 +02:00
Darien Raymond d615874aa9
adjust error levels 2017-04-23 20:41:45 +02:00
Darien Raymond 6a90ce3c43
comments 2017-04-21 15:36:05 +02:00
Darien Raymond 498c7dafdf
clean udp writer 2017-04-21 14:51:09 +02:00
Darien Raymond d6988f1a63
simplify code 2017-04-16 13:17:35 +02:00
Darien Raymond 02ce3ffded
release buffer 2017-04-15 22:29:38 +02:00
Darien Raymond b1dfff2fdd
remove 8k buffer pool 2017-04-15 21:19:21 +02:00
Darien Raymond f506a39d32
multi buffer 2017-04-15 21:07:23 +02:00
Darien Raymond 7c1b3ac1f0
cleanup error messages 2017-04-09 13:30:46 +02:00
Darien Raymond 35248497d2
refactor error messages 2017-04-09 01:43:25 +02:00
Darien Raymond fc31f9b94c
refactor error interface 2017-04-06 15:13:09 +02:00
Darien Raymond e678000c44
remove release() pattern 2017-01-04 12:52:24 +01:00
Darien Raymond 76776ddf99
delay check of remote address 2016-12-13 09:17:39 +01:00
Darien Raymond 1948d0738f
refactor io package 2016-12-09 13:17:34 +01:00
Darien Raymond 055023fdd5
refactor buffer 2016-12-09 12:08:25 +01:00
Darien Raymond 7a80409e30
rename alloc to buf 2016-12-09 11:35:27 +01:00
Darien Raymond 341fa376a1
Buffer.SetByte 2016-12-06 11:31:19 +01:00
Darien Raymond 8c8f0a53fd
rewrite alloc.buffer 2016-12-06 11:03:42 +01:00
Darien Raymond 186bf1f141
FillFullFrom 2016-12-05 17:05:47 +01:00