Commit Graph

56 Commits (811f0dd6476bdd54285a17414d5647e8e544ec82)

Author SHA1 Message Date
Darien Raymond 88e757e33f
merge duplicated code
6 years ago
Darien Raymond c49b93b39e
simplify buffer allocation
6 years ago
Darien Raymond 842a089dad
refactor multibuffer
6 years ago
Darien Raymond 0f324a613e
remove MultiBuffer.Release
6 years ago
Darien Raymond a01fdc29a6
remove NewMultiBufferValue
6 years ago
Darien Raymond 58e2ed3381
remove closure on ReadFullFrom
6 years ago
Darien Raymond 2f6a0d539d
dont write out empty payload
6 years ago
Darien Raymond 834dc4ab7c
remove references after content is written
6 years ago
Darien Raymond 7053293347
fix sync issue in buffered writer
6 years ago
Darien Raymond 0b388280ce
simplify writing
6 years ago
Darien Raymond 2594f7027a
remove ToNetBuffers
6 years ago
Darien Raymond 950612544b
simple write for single buffer
6 years ago
Darien Raymond 7baa6977d3
cleanup buf interfaces
6 years ago
Darien Raymond 6a06908456
optimize encryption read/write operations
6 years ago
Darien Raymond ebea255c74
eliminate partial writes
6 years ago
Darien Raymond 28ccd4ddd5
write all content
6 years ago
Darien Raymond adade2bffd
fix lint warnings
7 years ago
Darien Raymond 64ebba3cff
implement transport.pipe
7 years ago
Darien Raymond 9d7f43a299
fix lint errors
7 years ago
Darien Raymond ccb2a9f168
comments
7 years ago
Darien Raymond ae4dece6b0
explictly use the io.Writer instance for writing net.Buffers
7 years ago
Darien Raymond 0959755d21
fix a buffer leak in buffered reader
7 years ago
Darien Raymond 7709ee9b7f
more interface test
7 years ago
Darien Raymond 41961dbd60
cleanup
7 years ago
Darien Raymond 052d2d8278
merge noOpBytesWriter into noOpWriter
7 years ago
Darien Raymond 2fdccb2424
handle read with data and error at same time
7 years ago
Darien Raymond fcc66704fa
comments
7 years ago
Darien Raymond 66ebeaa0ca
cleanup
7 years ago
Darien Raymond ec8f8d4e10
remove check for ReaderFrom on underlying writer, as it may be badly implemented.
7 years ago
Darien Raymond afcad409e2
reallocate in for loop
7 years ago
Darien Raymond 23b768576e
always allocate buffer in Write
7 years ago
Darien Raymond 743d35c059
flush when not buffered
7 years ago
Darien Raymond f3c5df8798
make sure writer not buffered
7 years ago
Darien Raymond 594ec15c09
cleanup buffer usage
7 years ago
Darien Raymond 66b82e4ab7
cleanup MultiBuffer
7 years ago
Darien Raymond 3d2fd372e1
avoid writing empty payload in bytesToBufferWriter
7 years ago
Darien Raymond 2a96aaaf7b
comments
7 years ago
Darien Raymond 4b240eb683 DiscardBytes
7 years ago
Darien Raymond 939fae00e9
packet mode reader and writer
8 years ago
Darien Raymond f418b9bc20
swallow write error in mux
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 498c7dafdf
clean udp writer
8 years ago
Darien Raymond 5f4acaa9ea
merging reader and writer
8 years ago
Darien Raymond 6d7aaa6535
bug fixes
8 years ago
Darien Raymond 8868fe68ed
optimize http server
8 years ago
Darien Raymond e5525715fb
optimize cfb stream writer
8 years ago
Darien Raymond ed7b22622c
release buffer properly
8 years ago
Darien Raymond f506a39d32
multi buffer
8 years ago