Commit Graph

99 Commits (4de3f1adc18d9621b89961182eed9ccc8a3407b9)

Author SHA1 Message Date
Darien Raymond 4de3f1adc1
change ReadFullFrom to take int32 size
7 years ago
Darien Raymond 5af3580bcf
correct magic number
7 years ago
Darien Raymond 3d919a6a93
optimize auth reader
7 years ago
Darien Raymond 8d0a74b3fa
refine auth writer
7 years ago
Darien Raymond fc7da93d06
less cap
7 years ago
Darien Raymond 000e0804e8
fix buffer recycling
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 bcfcba396b
simplify auth reader
7 years ago
Darien Raymond d43a23aa96
move error generator to common
7 years ago
Darien Raymond 0481e6fa42
simplify chunk stream reader
7 years ago
Darien Raymond 40222de0f7
fix chunk parser for ss aead
7 years ago
Darien Raymond 981c43afc2
allow nil additional data generator
7 years ago
Darien Raymond 713ebfb203
implementation for Shadowsocks AEAD
7 years ago
Darien Raymond 97d886e1c9
use all buffers
7 years ago
Darien Raymond 5c9f54a453
fix length check in auth reader
7 years ago
Darien Raymond 594ec15c09
cleanup buffer usage
7 years ago
Darien Raymond 66b82e4ab7
cleanup MultiBuffer
7 years ago
Darien Raymond cf080e8061
ensure buffer is completely filled in
7 years ago
Darien Raymond 9cc9a76b71
cleanup
7 years ago
Darien Raymond f5d76c8eb0
fix lint warnings
7 years ago
Darien Raymond 251d6f6fcb
fix lint warning
7 years ago
Darien Raymond d1e7e7002f
fix buffer leak in crypto io
7 years ago
Darien Raymond 74cf833758 fully migrate to new assertion lib
7 years ago
Darien Raymond ade88fd5c7
reuse buffered writer in auth writer
8 years ago
Darien Raymond 53f99ddde6
cleanup
8 years ago
Darien Raymond 7a4bab4940
support packet transfer type in mux
8 years ago
Darien Raymond 939fae00e9
packet mode reader and writer
8 years ago
Darien Raymond c5aa4acb35
prototype of vpndialer
8 years ago
Darien Raymond 6239647336
fix chunk stream reader
8 years ago
Darien Raymond 693702350d
refactor
8 years ago
Darien Raymond 7f1e9c85c9
more effecient auth reader and writer
8 years ago
Darien Raymond cea6e28634
refactor
8 years ago
Darien Raymond e87b0ca848
size encoder and decoder
8 years ago
Darien Raymond 6a90ce3c43
comments
8 years ago
Darien Raymond 6d7aaa6535
bug fixes
8 years ago
Darien Raymond e5525715fb
optimize cfb stream writer
8 years ago
Darien Raymond 02ce3ffded
release buffer
8 years ago
Darien Raymond abe790181e
multi reader
8 years ago
Darien Raymond f506a39d32
multi buffer
8 years ago
Darien Raymond 68bc9ea8e4
cleanup error messages
8 years ago
Darien Raymond 35248497d2
refactor error messages
8 years ago
Darien Raymond 2668954c12
update error messages
8 years ago
Darien Raymond 3e809f4750
fix comments
8 years ago
Darien Raymond 7199ffcaa2
refactor
8 years ago
Darien Raymond 16d803ba1d
remove unused function
8 years ago
Darien Raymond 3c032f0d53
update frame header masking strategy
8 years ago
Darien Raymond d5b1762865
mask size bytes
8 years ago
Darien Raymond 6888093197
gofmt
8 years ago