Commit Graph

51 Commits (56ce5d5f84e7f9efa6fd4ed9435079b0d8292c5d)

Author SHA1 Message Date
Darien Raymond 8c841a05fb
use readv reader by default
6 years ago
Darien Raymond 2e11653694
remove BufferedReader.Direct
6 years ago
Darien Raymond fdb3a7b57d
remove use of buf.NewSize()
6 years ago
Darien Raymond b3cf1f70d7
optimize readv reader
6 years ago
Darien Raymond 6a06908456
optimize encryption read/write operations
6 years ago
Darien Raymond 47f1399995
check errors
6 years ago
Darien Raymond 148a7d064d
simplify buf.BufferedReader
7 years ago
Darien Raymond 64ebba3cff
implement transport.pipe
7 years ago
Darien Raymond b7f2f30244
support fetching config from http
7 years ago
Darien Raymond 8f7bdede4e
add check for largeSize in case there is just one pool
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 3d919a6a93
optimize auth reader
7 years ago
Darien Raymond b3ecb9f766
align large size
7 years ago
Darien Raymond bb46a96f04
refine handling for empty read
7 years ago
Darien Raymond babd0107cf
prevent empty read in Reader
7 years ago
Darien Raymond 47c92fafc8
clear leftOver after write
7 years ago
Darien Raymond b2d9364cb5
release buffer if payload becomes small
7 years ago
Darien Raymond 5bbece14af
simplify pool creation
7 years ago
Darien Raymond f97e6fa3d2
refine buffer allocation
7 years ago
Darien Raymond ccb2a9f168
comments
7 years ago
Darien Raymond 4c7c42d39f
grow buffer size slower
7 years ago
Darien Raymond 7709ee9b7f
more interface test
7 years ago
Darien Raymond 519eb344db
handle data first and then error
7 years ago
Darien Raymond 41961dbd60
cleanup
7 years ago
Darien Raymond 6de4ef014a
read directly from underlying buffered reader in mux
7 years ago
Darien Raymond 2fdccb2424
handle read with data and error at same time
7 years ago
Darien Raymond 594ec15c09
cleanup buffer usage
7 years ago
Darien Raymond 66b82e4ab7
cleanup MultiBuffer
7 years ago
Darien Raymond d5fd7efa7e
fast read on first packet
7 years ago
Darien Raymond 2f5d501643 fix length calculation in bufferToBytesReader.WriteTo
7 years ago
Darien Raymond 08a72b7eb6
go generate
7 years ago
Darien Raymond 939fae00e9
packet mode reader and writer
8 years ago
Darien Raymond 5a30e27f04
use normal byte array
8 years ago
Darien Raymond 6d7aaa6535
bug fixes
8 years ago
Darien Raymond 0ebebfa458
cleanup
8 years ago
Darien Raymond 7e2246907b
refactor bytes reader
8 years ago
Darien Raymond 14c75e5035
more test code
8 years ago
Darien Raymond 8868fe68ed
optimize http server
8 years ago
Darien Raymond abe790181e
multi reader
8 years ago
Darien Raymond f506a39d32
multi buffer
8 years ago
Darien Raymond 891b8a03de
refactor
8 years ago
Darien Raymond bf7906c7f0
clean lint warnings
8 years ago
Darien Raymond 4e8e15d528
refine error handling in byte reader
8 years ago
Darien Raymond e678000c44
remove release() pattern
8 years ago
Darien Raymond 538b0720d5
simplified Release()
8 years ago
Darien Raymond ea33b7691b
remove lock on bytes reader and writer
8 years ago
Darien Raymond ceaf5d1178
fix lint warnings
8 years ago
Darien Raymond 582438ce5e
gofmt
8 years ago