Commit Graph

73 Commits (899b1399eef874f6a75df787a25f4c334032275f)

Author SHA1 Message Date
Darien Raymond 2e11653694
remove BufferedReader.Direct 2018-08-17 20:45:23 +02:00
Darien Raymond b769e0cc5f
only create bufferedreader when necessary 2018-08-17 16:27:35 +02:00
Darien Raymond fdb3a7b57d
remove use of buf.NewSize() 2018-08-16 12:05:33 +02:00
Darien Raymond 6a06908456
optimize encryption read/write operations 2018-07-31 12:37:59 +02:00
Darien Raymond d615adab36
optimize padding reading 2018-07-30 20:08:50 +02:00
Darien Raymond 7efa7ee632
prepare to remove constructor of AuthenticationReader 2018-07-09 22:27:24 +02:00
Darien Raymond 8a879deac1
max padding len as variable 2018-07-08 21:46:13 +02:00
Darien Raymond 69774c99dc
fix padding value 2018-07-07 23:48:37 +02:00
Darien Raymond f54a8735ab
global padding in vmess protocol 2018-07-07 15:42:24 +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 66ed1bab2a
simplify BytesGenerator 2018-04-14 13:10:12 +02:00
Darien Raymond 9d7f43a299
fix lint errors 2018-04-11 16:15:29 +02:00
Darien Raymond 4b45174650
fix handling of empty buffer 2018-04-09 16:48:25 +02:00
Darien Raymond 9f198d7e3d
fix lint errors 2018-04-04 00:29:30 +02:00
Darien Raymond 7bafd7a1ab
migrate int to int32 2018-04-03 11:32:03 +02:00
Darien Raymond c5bd23105e
change uint32 to int32 2018-04-02 22:01:55 +02:00
Darien Raymond 08dab81eb2
migrate int to int32 2018-04-02 20:00:50 +02:00
Darien Raymond 4de3f1adc1
change ReadFullFrom to take int32 size 2018-04-02 00:44:47 +02:00
Darien Raymond 5af3580bcf
correct magic number 2018-04-02 00:00:15 +02:00
Darien Raymond 3d919a6a93
optimize auth reader 2018-04-01 23:31:53 +02:00
Darien Raymond 8d0a74b3fa
refine auth writer 2018-04-01 22:41:38 +02:00
Darien Raymond fc7da93d06
less cap 2018-03-28 22:24:01 +02:00
Darien Raymond 1cbfeea0cd
simplify NewSize calls 2018-03-12 22:10:13 +01:00
Darien Raymond 994aecd13c
rename NewLocal to NewSize 2018-03-11 23:29:17 +01:00
Darien Raymond f97e6fa3d2
refine buffer allocation 2018-03-11 23:06:04 +01:00
Darien Raymond bcfcba396b
simplify auth reader 2017-12-03 13:23:24 +01:00
Darien Raymond 981c43afc2
allow nil additional data generator 2017-11-26 16:55:35 +01:00
Darien Raymond 713ebfb203
implementation for Shadowsocks AEAD 2017-11-26 00:51:54 +01:00
Darien Raymond 97d886e1c9
use all buffers 2017-11-21 22:03:43 +01:00
Darien Raymond 5c9f54a453
fix length check in auth reader 2017-11-18 19:37:36 +01:00
Darien Raymond 594ec15c09
cleanup buffer usage 2017-11-09 22:33:15 +01:00
Darien Raymond 66b82e4ab7
cleanup MultiBuffer 2017-11-09 00:55:28 +01:00
Darien Raymond f5d76c8eb0
fix lint warnings 2017-11-07 14:40:51 +01:00
Darien Raymond 251d6f6fcb
fix lint warning 2017-11-07 13:07:50 +01:00
Darien Raymond ade88fd5c7
reuse buffered writer in auth writer 2017-05-24 00:54:30 +02:00
Darien Raymond 7a4bab4940
support packet transfer type in mux 2017-05-02 22:23:07 +02:00
Darien Raymond 939fae00e9
packet mode reader and writer 2017-05-02 00:28:16 +02:00
Darien Raymond c5aa4acb35
prototype of vpndialer 2017-04-30 23:37:30 +02:00
Darien Raymond 7f1e9c85c9
more effecient auth reader and writer 2017-04-27 13:31:09 +02:00
Darien Raymond e87b0ca848
size encoder and decoder 2017-04-23 13:30:08 +02:00
Darien Raymond 6a90ce3c43
comments 2017-04-21 15:36:05 +02:00
Darien Raymond 6d7aaa6535
bug fixes 2017-04-19 21:27:21 +02:00
Darien Raymond 02ce3ffded
release buffer 2017-04-15 22:29:38 +02:00
Darien Raymond abe790181e
multi reader 2017-04-15 22:22:29 +02:00
Darien Raymond f506a39d32
multi buffer 2017-04-15 21:07:23 +02:00
Darien Raymond 68bc9ea8e4
cleanup error messages 2017-04-09 15:04:04 +02:00
Darien Raymond 35248497d2
refactor error messages 2017-04-09 01:43:25 +02:00
Darien Raymond 2668954c12
update error messages 2017-04-06 22:17:13 +02:00
Darien Raymond 3e809f4750
fix comments 2017-04-04 21:26:48 +02:00