Commit Graph

43 Commits (048f0ee56eff5762a3b3e584a2a0ebc125f6fe09)

Author SHA1 Message Date
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
Darien Raymond 1948d0738f
refactor io package
8 years ago