Commit Graph

54 Commits (811f0dd6476bdd54285a17414d5647e8e544ec82)

Author SHA1 Message Date
Darien Raymond 4e77570f36
fix connection reading in UDP
6 years ago
Darien Raymond c72d853454
return correct error
6 years ago
Darien Raymond 88e757e33f
merge duplicated code
6 years ago
Darien Raymond fc92b6295a
compact buffers
6 years ago
Darien Raymond 83c4b20b6e
fix lint warnings
6 years ago
Darien Raymond b1b8cb5ef5
Fix SplitSize
6 years ago
Darien Raymond 5c4e33f759
rewrite SliceBySize
6 years ago
Darien Raymond bcd5d026fe
rewrite SplitFirst
6 years ago
Darien Raymond cb7646f682
remove unnecessary err object from SplitBytes
6 years ago
Darien Raymond 842a089dad
refactor multibuffer
6 years ago
Darien Raymond 0f324a613e
remove MultiBuffer.Release
6 years ago
Darien Raymond 27772a75a7
refactor MultiBuffer append
6 years ago
Darien Raymond 48cac1733f
remove NewMultiBufferCap
6 years ago
Darien Raymond a01fdc29a6
remove NewMultiBufferValue
6 years ago
Darien Raymond 58e2ed3381
remove closure on ReadFullFrom
6 years ago
Darien Raymond 2594f7027a
remove ToNetBuffers
6 years ago
Darien Raymond fdb3a7b57d
remove use of buf.NewSize()
6 years ago
Darien Raymond 206f52affc
refine buffer interface
6 years ago
Darien Raymond 47f1399995
check errors
6 years ago
Darien Raymond e3508fffc6
deal with empty input in ReadAllToBytes.
7 years ago
Darien Raymond e6446d43c8
fix multibuf len
7 years ago
Darien Raymond 5d23604713
rewrite ray -> pipe
7 years ago
Darien Raymond f751bb610c
refine ctlcmd
7 years ago
Darien Raymond 48e825567a
fix error detection for pipeline
7 years ago
Darien Raymond b7f2f30244
support fetching config from http
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 03512a6a9b
read size to multi buffer
7 years ago
Darien Raymond fa6ff77cee
prevent appending nil buffer
7 years ago
Darien Raymond eeed65f826
fix #999
7 years ago
Darien Raymond 123977e324
fix misspelling
7 years ago
Darien Raymond 6de4ef014a
read directly from underlying buffered reader in mux
7 years ago
Darien Raymond 594ec15c09
cleanup buffer usage
7 years ago
Darien Raymond 66b82e4ab7
cleanup MultiBuffer
7 years ago
Darien Raymond 2a96aaaf7b
comments
7 years ago
Darien Raymond 7cd2d62d06
release buffer on error
7 years ago
Darien Raymond 8554a5e0bf
fix buffer leak
7 years ago
Darien Raymond 1b6b39faad
comments
7 years ago
Darien Raymond ccf1fb6616
fix buffer leak in multi buffer
7 years ago
Darien Raymond 4412d73b28 get rid off ioutil
7 years ago
Darien Raymond 939fae00e9
packet mode reader and writer
8 years ago
Darien Raymond 94405dd467
fix snifer
8 years ago
Darien Raymond 59a1e2d736
refactor
8 years ago
Darien Raymond cea6e28634
refactor
8 years ago
Darien Raymond 6d7aaa6535
bug fixes
8 years ago
Darien Raymond 31a0951bd2
write by slice when buffer is too large
8 years ago
Darien Raymond d9ea65696a
increase multi buffer capacity
8 years ago
Darien Raymond e5525715fb
optimize cfb stream writer
8 years ago
Darien Raymond 5c2cabb44e
clear reference on release
8 years ago