Commit Graph

47 Commits (811f0dd6476bdd54285a17414d5647e8e544ec82)

Author SHA1 Message Date
vcptr 47660bfee2 fix win test error; dont use ReadV on file
5 years ago
Kslr be27720c74 fix codestyle
6 years ago
Kslr c6f3ab48ee fixed ReadV issue for windows
6 years ago
Darien Raymond b234cfb4c4
unify NewPacketReader
6 years ago
Darien Raymond 3340f81d03
fix reader/writer for packet conn
6 years ago
Darien Raymond 58e2ed3381
remove closure on ReadFullFrom
6 years ago
Darien Raymond 8c841a05fb
use readv reader by default
6 years ago
Darien Raymond 5f8b64c646
use SingleReader on low end devices
6 years ago
Darien Raymond f27a381fe8
restrict multi-writer to syscall.conn only
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 232e715b8b
don't build readv for windows
6 years ago
Darien Raymond 82ee23e6d0
make readv optional
6 years ago
Darien Raymond a941ef5392
try readv
6 years ago
Darien Raymond b05597df3a
fix passive connection in mux. fix #1167
7 years ago
Darien Raymond 4de3f1adc1
change ReadFullFrom to take int32 size
7 years ago
Darien Raymond ccb2a9f168
comments
7 years ago
Darien Raymond 594ec15c09
cleanup buffer usage
7 years ago
Darien Raymond d5fd7efa7e
fast read on first packet
7 years ago
Darien Raymond 2a96aaaf7b
comments
7 years ago
Darien Raymond 233bb08e56 fix lint warnings
7 years ago
Darien Raymond 07847576b5
refine copy handler
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 498c7dafdf
clean udp writer
8 years ago
Darien Raymond 67dbb86b0e
cleanup
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 ab9349ec31
rename buf.Copy
8 years ago
Darien Raymond abe790181e
multi reader
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 f34ad57b58
refactor timer api
8 years ago
Darien Raymond cb0e29ccdb
merging reader
8 years ago
Darien Raymond bf7906c7f0
clean lint warnings
8 years ago
Darien Raymond 020b436827
merge bufio into buf
8 years ago
Darien Raymond c462e35aad
cancel sessions after inactivity
8 years ago
Darien Raymond e678000c44
remove release() pattern
8 years ago
Darien Raymond 792e8ffd20
comments
8 years ago
Darien Raymond 1948d0738f
refactor io package
8 years ago
Darien Raymond 055023fdd5
refactor buffer
8 years ago