Commit Graph

427 Commits (2bc7347d6da4b91246d62f41a3e3dd7800a90e82)

Author SHA1 Message Date
Shelikhoo fed2933043
fix crash
8 years ago
Shelikhoo 5e576e11bb
fix crash
8 years ago
Shelikhoo 49441a5050
Docs
8 years ago
Shelikhoo a0fda39274
Fix crash
8 years ago
Shelikhoo 3e9e9b520e
Remove useless test
8 years ago
Shelikhoo 1fe090dbfd
Verfiy Domain correctly
8 years ago
Shelikhoo 427bed5ddb
typo~
8 years ago
Shelikhoo 16b529093d
Support Listen WebSocket with TLS
8 years ago
Shelikhoo fecf9cc5b8
Added WebSocket transport
8 years ago
Shelikhoo 7ef66c57dc
Support Listen WebSocket Connection
8 years ago
Shelikhoo 29f69d63c4
Support Dial WebSocket Connection
8 years ago
Shelikhoo 20f16309e6
Load Websocket Streamtype from json
8 years ago
Shelikhoo 0d60d2449a
Add Websocket Stream type
8 years ago
Shelikhoo 2eced2bd6c
Load Configure from json
8 years ago
Shelikhoo 8c4a6d94f9
WS Conf structure
8 years ago
v2ray bcd27ba36f
option to allow passive connection
8 years ago
v2ray f03c86f468
global session cache
8 years ago
v2ray b01a972076
test for all authenticators
8 years ago
v2ray b38137bd13
utp header
8 years ago
v2ray 86490e884c
return pointer of config
8 years ago
v2ray 75b8dd9521
error message refactoring
8 years ago
v2ray 81855469aa
rename SRTP
8 years ago
v2ray 4a7400ef2a
test case for srtp
8 years ago
v2ray 2f0d602833
nil pointer protection
8 years ago
v2ray 0caf2e6d30
compact kcp stream
8 years ago
v2ray 6678da2fe2
more no-op authenticator into a separate folder
8 years ago
v2ray 8d6a9167b5
add no-op authenticator
8 years ago
v2ray c7d6302292
load srtp in main
8 years ago
v2ray 6ffc24f895
update roundtripinfo
8 years ago
v2ray 0d73726930
srtp header for kcp
8 years ago
v2ray a15e33f720
rename RoundTripInfo
8 years ago
v2ray 00841583d2
reduce ack packet size and send peer RTO
8 years ago
v2ray 7f277c9bcc
prevent goroutine leak
8 years ago
v2ray 6fa84624cb
simplify logic
8 years ago
v2ray 53cdcfdc2b
remove unnecessary goroutine
8 years ago
v2ray b8421f659f
terminate connection
8 years ago
v2ray 7385c05f29
more test case for buffer
8 years ago
v2ray 42efa5dde0
refine buffer usage in kcp
8 years ago
v2ray 6fe7463bf4
simplify state checking
8 years ago
v2ray 347ae8fd75
simplify interface
8 years ago
v2ray ca0ae50e62
refine system dialer substitution
8 years ago
Shelikhoo d1b44619b0
Solve #218: Supporting substitute of the default Dialer, this is a prerequisite of Libv2ray's support of Android VPNService mode; It is not recommanded to modify exported func introduced by this commit.
8 years ago
v2ray 85d6e1ad13
prepend hash
8 years ago
v2ray 1931820c4c
leverage local buffer
8 years ago
v2ray a39132f4c2
update log
8 years ago
v2ray bf2d45a83d
use local buffer when fetching input
8 years ago
v2ray 066e5e216d
fill windows after processing acks
8 years ago
v2ray 72ee6436eb
more accurate of rtt calculation
8 years ago
v2ray d5cd919cec
remove duplicated code
8 years ago
v2ray f6d4e599bd
configurable read and write buffer size
8 years ago
v2ray 631db6e69a
rename
8 years ago
v2ray ef2d49302d
rename command
8 years ago
v2ray ffdce592ec
remove sync.Pool from segment allocation
8 years ago
v2ray 906d846c2e
update test case
8 years ago
v2ray c32f1a0152
update test case
8 years ago
v2ray 991b2703dc
improve writing performance
8 years ago
v2ray 0acd3b6d62
improve sending performance
8 years ago
v2ray 476b3c68d2
introduce a new state: peer terminating
8 years ago
v2ray 05ed05b9a0
correctly release segments
8 years ago
v2ray 73afe9a001
use alloc.Buffer in sending queue
8 years ago
v2ray c7b0264f9a
lock in udp hub
8 years ago
v2ray d602025908
update test performance
8 years ago
v2ray c0a1198514
improve terminating performance
8 years ago
v2ray 9a44ff3145
static conv
8 years ago
v2ray 9434f5156c
fix memory leak
8 years ago
v2ray 205f8b382d
Fix race condition
8 years ago
v2ray 94d4b02191
non blocking flusing
8 years ago
v2ray b68075a99d
test case for kcp read write
8 years ago
v2ray 4c63e9e168
improve fetch performance
8 years ago
v2ray f7d54d57c4
remove lastpayloadtime
8 years ago
v2ray b50671f041
fix a bug in process ack
8 years ago
v2ray 63390786ed
test case for read timeout
8 years ago
v2ray a88a120938
Fix deadlock in kcp.read
8 years ago
v2ray 12d13f1560
refine log in KCP
9 years ago
v2ray 636effbe38
more accurate source id
9 years ago
v2ray 5e7d413404
allow insecure connections
9 years ago
v2ray be81d246f2
rename json fields
9 years ago
v2ray 754e8b6e78
tls config
9 years ago
v2ray 1e3ebeef59
reduce buffer size
9 years ago
v2ray 56ce062154
refine connection.read
9 years ago
v2ray a615afc906
refine locks in sending worker
9 years ago
v2ray 5448ec1fe4
refine locker in sending worker
9 years ago
v2ray 78ef65e17b
refine locker in kcp connection
9 years ago
v2ray e44b374e66
merge kcp into connection
9 years ago
v2ray 344e48e1bb
completely remove itimediff
9 years ago
v2ray 16d1b42f59
refine seg allocation
9 years ago
v2ray 6efff7654c
leverage pool functions
9 years ago
v2ray 34fb72e7c6
refine ack seg put
9 years ago
v2ray 13e83c17a5
apply sync.Pool to segments
9 years ago
v2ray e170750d7e
fix test
9 years ago
v2ray 6ea8691a07
correctly apply cwnd
9 years ago
v2ray d1d153acb9
refine congestion control
9 years ago
v2ray 8ea3c13236
rename ISegment -> Segment
9 years ago
v2ray 03ff683686
rename process ack segment
9 years ago
v2ray 165e323fab
refine sending window size
9 years ago
v2ray 6a1054a0f3
allow capacity = 0
9 years ago
v2ray 9c3ebc0453
allow control window larger than sending window
9 years ago
v2ray 968fffcffb
fix test break
9 years ago
v2ray e4acfe7f7e
sending worker
9 years ago
v2ray 0eaa3ba27a
refactor code
9 years ago
v2ray f8a614714c
sending window fix
9 years ago
v2ray ab2cef1c09
shrink_buf
9 years ago
v2ray 84889117e9
simplify logic
9 years ago
v2ray e5c4fd3e1c
remove unused variables
9 years ago
v2ray 490f77b4a0
cleanup
9 years ago
v2ray 7bc6d8af88
remove nodelay function
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
v2ray 080f0abee9
receiving worker
9 years ago
v2ray 3e84e4cb44
rename acklist
9 years ago
v2ray e1ce179b8e
remove unnecessary constants
9 years ago
v2ray 94fb16fdfa
refine kcp constructor
9 years ago
v2ray a2abdc3d2f
refine mtu settings
9 years ago
v2ray 8e98ede75d
shrink buf in time
9 years ago
v2ray 2169dcd7da
fix a bug in length calculation
9 years ago
v2ray 829355e6bf
correctly calculate len of sending window
9 years ago
v2ray dc53575540
bug fixes in sending window
9 years ago
v2ray 4c74e25319
sending window
9 years ago
v2ray 48d4f5b7bb
remove acklist test for the moment
9 years ago
v2ray aa46e4ea05
extend ack timeout
9 years ago
v2ray d63330d15e
refine ack list flushing
9 years ago
v2ray 5680c69146
locker protected ReceivingQueue.Put
9 years ago
v2ray a1f5839461
receiving queue
9 years ago
v2ray a6649fa0ff
remove unused variables
9 years ago
v2ray 9d83fbcb7c
fix cwnd
9 years ago
v2ray 7056b414e2
length protection in ReadSegment
9 years ago
v2ray f050113925
fix #185
9 years ago
v2ray 98cc28a4c4
leverage dice.Roll
9 years ago
v2ray 71c9bd678c
Fix receiving update
9 years ago
v2ray 313b3c1db0
shrink buf for all type of segments
9 years ago
v2ray 812ac54290
congestion control
9 years ago
v2ray af5a2ac0bc
allow small capacity
9 years ago
v2ray 6e615c5863
correctly measure payload time
9 years ago
v2ray c5170a36f0
agreesively close unresponding connections
9 years ago
v2ray 0047910a81
bug fixes
9 years ago
v2ray d958b9884e
apply new classes to kcp core
9 years ago
v2ray aa6726a6d0
segment.releasable
9 years ago
v2ray 41b230994e
segment writer
9 years ago
v2ray beea2528ce
ack list
9 years ago
v2ray 6915095a0a
typed segments
9 years ago
v2ray 27b8715b63
refine rto settings
9 years ago
v2ray 32d9984e28
completely remove wnd probe
9 years ago
v2ray 5a5c9b891d
correct window calculation
9 years ago
v2ray 2e63b29191
correct srtt boundary
9 years ago
v2ray 231f5fc140
update RecivingWindow.Remove
9 years ago
v2ray 7f661f5215
rename Error to Err
9 years ago
v2ray 5ee87404fd
remove unused variable
9 years ago
v2ray e9fdc35c3c
fix kcp dial log
9 years ago
v2ray cf6d36ecd5
remove unnecessary flush
9 years ago
v2ray 3925b62751
high performance sending queue
9 years ago
v2ray 67ac925ee7
refactor bytes functions
9 years ago
v2ray d12d5b0593
fix data structure
9 years ago
v2ray d37c01905c
remove unnecessary conversion
9 years ago
v2ray 0812d7f9be
change writeBuffer to uint32
9 years ago
v2ray 5b70c33c77
remove tti check
9 years ago
v2ray 882746380e
Correct RTT Variation
9 years ago
v2ray 25ef62434a
high performance receiving window
9 years ago
v2ray 87e1d66ff0
remove segment.rto
9 years ago
v2ray 15f190d268
remove nodelay settings
9 years ago
v2ray 0613d0cf22
Clear sending queue when peer closed
9 years ago
v2ray ab710f2714
write buffer size
9 years ago
v2ray 4beeba933c
refine rto and wnd, temporarily disable congestion control
9 years ago
v2ray 576b16c2f7
remove unused variable
9 years ago
v2ray db3ca752ff
remove unused methods
9 years ago
V2Ray Dev 41225f8c12
correctly set tti
9 years ago
v2ray 1238304b1d
more settings to kcp
9 years ago
V2Ray Dev b131f64f7b
remove acknodealy setting entry
9 years ago
v2ray aa38488712 clean up sessions
9 years ago
v2ray 8cd32a8267 avoid copying segment structure
9 years ago
v2ray ee0c25b0f3 reuse alloc.buffer in kcp
9 years ago
v2ray 7bf74761df remove unused code in kcp
9 years ago
v2ray a0d08e4961 check mtu setting
9 years ago
v2ray bac9304e05 better termination logic
9 years ago
v2ray 5334d25e16 normalize naming
9 years ago
v2ray cd4416e7e5 another test case for simple authenticator
9 years ago
v2ray b5ab714b52 fix duplicated asm function
9 years ago
v2ray f54da94d03 update asm code
9 years ago
v2ray f7396aad8c improve simple authenticator performance in amd64
9 years ago
v2ray 2b966b039f check for nil
9 years ago
v2ray 7a84c930d4 fix KCP
9 years ago
v2ray 87cb0d5dc9 update log
9 years ago
v2ray 233b73d1db improve kcp performance
9 years ago
v2ray f5d613f10a update kcp config
9 years ago
v2ray 42ae2d804f Integrate kcp with other components
9 years ago
v2ray 103c721626 adjust connection type priority
9 years ago
v2ray 9d21c78a01 remove ibound function
9 years ago
v2ray b8160bbdae merge dial and listen functions
9 years ago
v2ray c4536d99d4 test case for raw connection
9 years ago
v2ray 99516bc511 customizable kcp code
9 years ago
v2ray 9b6dc6bcea massive refactoring for kcp
9 years ago
Shelikhoo de4b4516ee
Fix: check jsonConfig.KcpConfig
9 years ago
Shelikhoo bcf87d1592
KCP: style
9 years ago
Shelikhoo 14623e6fa4
KCP: This code cause unwanted effect
9 years ago
Shelikhoo 18841209ee
KCP:Some Tests
9 years ago
Shelikhoo 0f368f8139
KCP: comments
9 years ago
Shelikhoo 29e9473026
KCP: delay conn close to prevent conn leak+
9 years ago
Shelikhoo 9144b66217
KCP: delay conn close to prevent conn leak
9 years ago