Commit Graph

62 Commits (2020bbe60601cd87943ed9d6b5be68ae252a5ba1)

Author SHA1 Message Date
Darien Raymond 3b0bfe9422
check empty
6 years ago
Darien Raymond 47f1399995
check errors
6 years ago
Darien Raymond f8e6927581
pool for data and ack segments
6 years ago
Darien Raymond bbeae5be48
redo kcp.ReceivingWindow
6 years ago
Darien Raymond 6315217572
fix receiving window size
6 years ago
Darien Raymond 630a76d06a
kcp cleanup
7 years ago
Darien Raymond 2acef1cc07
cleanup kcp connection
7 years ago
Darien Raymond b3e6994e52
implement WriteMultiBuffer
7 years ago
Darien Raymond 85a93e9602
cleanup kcp
7 years ago
Darien Raymond 66b82e4ab7
cleanup MultiBuffer
7 years ago
Darien Raymond 2a04819582 fix data race in kcp connection
7 years ago
Darien Raymond f01b0552a9
direct multibuf reading from kcp engine
8 years ago
Darien Raymond ebed271a92
fix race conditions in kcp
8 years ago
Darien Raymond ceaf5d1178
fix lint warnings
8 years ago
Darien Raymond cdcccb4590
simplify segment writer
8 years ago
Darien Raymond 7a80409e30
rename alloc to buf
8 years ago
Darien Raymond 8c8f0a53fd
rewrite alloc.buffer
8 years ago
Darien Raymond 207c7aa8a7
flush acklist when dirty
8 years ago
Darien Raymond 31fbb62d0f
add back flush timeout
8 years ago
Darien Raymond 3be9519ed4
send more ack seg
8 years ago
Darien Raymond 2dc74faf19
send more ack numbers if not full
8 years ago
Darien Raymond f95c322677
rename 'this'
8 years ago
Darien Raymond 15cb543abb
release memory in kcp connection
8 years ago
Darien Raymond 4ee758c4d2
simplify kcp logic
8 years ago
Darien Raymond e72f8a26c8
min timeout
8 years ago
Darien Raymond 7a09fcdc2f
increase kcp ack frequency
8 years ago
Darien Raymond e023859ef0
stop data updating thread when there is no data
8 years ago
Darien Raymond 1d13f47f9c
protobuf for stream settings
8 years ago
Darien Raymond 3fd66ad795
remove PingNecessary()
8 years ago
Darien Raymond fcad4aa212
adjust receiving buffer size
8 years ago
Darien Raymond 2ae8e5d033
rename buffer size
8 years ago
Darien Raymond 2839ce7a88
simplify receiving worker
8 years ago
v2ray 07a86f549b
unified import path
8 years ago
v2ray 00841583d2
reduce ack packet size and send peer RTO
8 years ago
v2ray 631db6e69a
rename
8 years ago
v2ray 205f8b382d
Fix race condition
8 years ago
v2ray 56ce062154
refine connection.read
9 years ago
v2ray 78ef65e17b
refine locker in kcp connection
9 years ago
v2ray e44b374e66
merge kcp into connection
9 years ago
v2ray 16d1b42f59
refine seg allocation
9 years ago
v2ray 34fb72e7c6
refine ack seg put
9 years ago
v2ray 13e83c17a5
apply sync.Pool to segments
9 years ago
v2ray 8ea3c13236
rename ISegment -> Segment
9 years ago
v2ray 0eaa3ba27a
refactor code
9 years ago
v2ray 84889117e9
simplify logic
9 years ago
v2ray 951b278ac7
test case for receiving queue
9 years ago
v2ray 6416c42bee
rename NewAckList
9 years ago
v2ray a1af9ea839
refine locks
9 years ago
v2ray 3ad83da7cb
rename acksegment
9 years ago
v2ray 32da784549
remove deadlock
9 years ago