Commit Graph

250 Commits (8c8761e2cca505c8d663675d486004e020bd0d97)

Author SHA1 Message Date
Darien Raymond 0959755d21
fix a buffer leak in buffered reader
7 years ago
Darien Raymond 123977e324
fix misspelling
7 years ago
Darien Raymond 4c7c42d39f
grow buffer size slower
7 years ago
Darien Raymond 7709ee9b7f
more interface test
7 years ago
Darien Raymond d43a23aa96
move error generator to common
7 years ago
Darien Raymond 519eb344db
handle data first and then error
7 years ago
Darien Raymond 41961dbd60
cleanup
7 years ago
Darien Raymond 052d2d8278
merge noOpBytesWriter into noOpWriter
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 b0ac43a8fc
comments
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 d5fd7efa7e
fast read on first packet
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 4b240eb683 DiscardBytes
7 years ago
Darien Raymond 4412d73b28 get rid off ioutil
7 years ago
Darien Raymond 2f5d501643 fix length calculation in bufferToBytesReader.WriteTo
7 years ago
Darien Raymond 6c9a60100d format code
7 years ago
Darien Raymond 74cf833758 fully migrate to new assertion lib
7 years ago
Darien Raymond 233bb08e56 fix lint warnings
7 years ago
Darien Raymond 49914adf00 remove buffer pool in favor of Go 1.9 concurrent GC
7 years ago
Darien Raymond bae5639dfd refactor
7 years ago
Darien Raymond 109a37fe7e aggressively close connection when response is done
7 years ago
Darien Raymond 08a72b7eb6
go generate
7 years ago
Darien Raymond 07847576b5
refine copy handler
8 years ago
Darien Raymond 10bc421af9
fix type conversion
8 years ago
Darien Raymond b16a82024c
normalized env variable names for bash
8 years ago
Darien Raymond ade88fd5c7
reuse buffered writer in auth writer
8 years ago
Darien Raymond a8da85eca5
simplify code
8 years ago
Darien Raymond 939fae00e9
packet mode reader and writer
8 years ago
Darien Raymond 3821ee21fc
handle nil onData
8 years ago
Darien Raymond 6f3362fc4c
update activity
8 years ago
Darien Raymond f418b9bc20
swallow write error in mux
8 years ago
Darien Raymond 7f1e9c85c9
more effecient auth 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 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 eda72624e2
test case for sync pool
8 years ago
Darien Raymond 67dbb86b0e
cleanup
8 years ago
Darien Raymond f01b0552a9
direct multibuf reading from kcp engine
8 years ago
Darien Raymond 5f4acaa9ea
merging 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 31a0951bd2
write by slice when buffer is too large
8 years ago
Darien Raymond 6361ea3188
refactor
8 years ago
Darien Raymond 14c75e5035
more test code
8 years ago
Darien Raymond ab9349ec31
rename buf.Copy
8 years ago
Darien Raymond e362c74fa9
remove unused code
8 years ago
Darien Raymond 8868fe68ed
optimize http server
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
Darien Raymond 2f565bfd5e
simplify ray stream
8 years ago
Darien Raymond abe790181e
multi reader
8 years ago
Darien Raymond ed7b22622c
release buffer properly
8 years ago
Darien Raymond b1dfff2fdd
remove 8k buffer pool
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 18b0b87c52
no-op timer
8 years ago
Darien Raymond 891b8a03de
refactor
8 years ago
Darien Raymond f34ad57b58
refactor timer api
8 years ago
Darien Raymond b2c7b1a120
fix dead loop in merging reader
8 years ago
Darien Raymond f643344154
merge buf stream
8 years ago
Darien Raymond 14824c8451
fix timeout reader usage
8 years ago
Darien Raymond cb0e29ccdb
merging reader
8 years ago
Darien Raymond bf7906c7f0
clean lint warnings
8 years ago
Darien Raymond 4d34d081f1
reduce default pool size for non x86 platform to 5MB.
8 years ago
Darien Raymond 020b436827
merge bufio into buf
8 years ago
Darien Raymond 4e8e15d528
refine error handling in byte reader
8 years ago
Darien Raymond c462e35aad
cancel sessions after inactivity
8 years ago
Darien Raymond e678000c44
remove release() pattern
8 years ago
Darien Raymond a44d556667
test case for tls connection
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 792e8ffd20
comments
8 years ago
Darien Raymond ff87377acf
comments
8 years ago
Darien Raymond 1948d0738f
refactor io package
8 years ago
Darien Raymond 055023fdd5
refactor buffer
8 years ago
Darien Raymond 7a80409e30
rename alloc to buf
8 years ago