Commit Graph

62 Commits (845606d86c30ad512ea32bdc0de7178f21f7189b)

Author SHA1 Message Date
Darien Raymond 66ed1bab2a
simplify BytesGenerator
7 years ago
Darien Raymond 9d7f43a299
fix lint errors
7 years ago
Darien Raymond 4b45174650
fix handling of empty buffer
7 years ago
Darien Raymond 9f198d7e3d
fix lint errors
7 years ago
Darien Raymond 7bafd7a1ab
migrate int to int32
7 years ago
Darien Raymond c5bd23105e
change uint32 to int32
7 years ago
Darien Raymond 08dab81eb2
migrate int to int32
7 years ago
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 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 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 f5d76c8eb0
fix lint warnings
7 years ago
Darien Raymond 251d6f6fcb
fix lint warning
7 years ago
Darien Raymond ade88fd5c7
reuse buffered writer in auth writer
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 7f1e9c85c9
more effecient auth reader and writer
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 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 2897df5a7a
don't copy leftoever if at head
8 years ago
Darien Raymond 47c3646162
refine authentication reader
8 years ago
Darien Raymond cbebbc3e68
remove aggressive reader
8 years ago
Darien Raymond 0cf5087852
fix auth reader buffer overrun
8 years ago
Darien Raymond 7c751fcca0
common.Must
8 years ago
Darien Raymond ceaf5d1178
fix lint warnings
8 years ago
Darien Raymond 3d9afdde8a
fix error propagation
8 years ago