Commit Graph

644 Commits (cf97b8b4d042ab9e4e49a87e25916919f407cf70)

Author SHA1 Message Date
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
Shelikhoo 4df5d42011
KCP: discard useless conn in Accept+
9 years ago
Shelikhoo f601962391
KCP: discard useless conn in Accept
9 years ago
Shelikhoo f4ff2e9366
Removed manadory mandatory requirement for Read/Write Timeout+
9 years ago
Shelikhoo d0d63ee5b3
Removed manadory mandatory requirement for Read/Write Timeout
9 years ago
Shelikhoo 9315bb29fb
Fix: Dial3 misbehave
9 years ago
Shelikhoo 579786166c
Fix: DialWithoutCache3 misbehave
9 years ago
Shelikhoo 7fdf0de06d
KCP: Fixed: typo in <Fixed transport/config_json.go jsonConfig.KcpConfig, jsonConfig.KcpConfig.AdvancedConfig == nil>
9 years ago
Shelikhoo cbb183ec58
KCP: Fixed transport/config_json.go jsonConfig.KcpConfig, jsonConfig.KcpConfig.AdvancedConfig == nil
9 years ago
Shelikhoo 0912574166
KCP: amend proxyMeta -> *proxymeta
9 years ago
Shelikhoo 4f9a9d1f0c
KCP: fix: meta type
9 years ago
Shelikhoo c07d478ab5
KCP: Dialers for KCP
9 years ago
Shelikhoo 35b30e5bb0
Finished ListenKCPhub
9 years ago
Shelikhoo 70201d8879
KCP:func ListenKCP finished
9 years ago
Shelikhoo a9ef8d27bd
Merged latest master
9 years ago
Shelikhoo e51710d144
Func: ListenTCP6
9 years ago
Shelikhoo 2fd963801c
KCP: Added Dial func
9 years ago
Shelikhoo e84d52263d
KCP: Moved apply to KCPv
9 years ago
Shelikhoo 0f28c577ce
KCP: Chiper generater
9 years ago
Shelikhoo 6f0b4aaf31
KCP: sorrgated Listener and conn
9 years ago
Shelikhoo a8792b2b60
Added Config for KCP connetions
9 years ago
Shelikhoo 77eee3ed37
Added kcp json parser(By doing nothing)
9 years ago
Shelikhoo 12c40b7195
Renamed to kcpv avoid name conflict
9 years ago
Shelikhoo 63c1f2106d
Added kcp related configs
9 years ago
v2ray 1c06fc216a allow redirection in dokodemo
9 years ago
v2ray ffce784dce comments
9 years ago
v2ray b17edf907e enable connection reuse by default
9 years ago
v2ray a4d76dc394 support using specific address
9 years ago
v2ray f3975aafbf remove unnecessary log
9 years ago
v2ray 40ebd1e9ae remove unused definition
9 years ago
v2ray ff0cb89efa simplify connection reuse settings
9 years ago
v2ray 9a8bc3fc3c async connection close
9 years ago
v2ray dfe1ac1f2b Fix connection reuse
9 years ago
v2ray a86cd36ad2 configuration for connection reuse
9 years ago
v2ray 0fac2084c7 reusable connection
9 years ago
v2ray da24d00367 reusable connection
9 years ago
v2ray b47c1ca609 get rid of annoying firewall warnings
9 years ago
v2ray fc63f0432c simplify testing
9 years ago
v2ray 18d75cb7b4 bug fixes to dns server
9 years ago
v2ray ac4d92a186 fix udp connection mapping
9 years ago
v2ray 634c4964cc Massive fixes
9 years ago
v2ray 8fbca309df better management on udp connections
9 years ago
v2ray 1bd893501c reduce time of waiting for channel empty
9 years ago
v2ray 9b511fb071 Fix a typo
9 years ago
v2ray 663b9c9bbc busy wait on writing
9 years ago
v2ray 7d43952690 tcphub now takes tls config as construtor parameter
9 years ago
v2ray f594f5b606 simplify tcp connection
9 years ago
v2ray 18069d377c Release stream when conn ends
9 years ago
v2ray ccb874d65a tls connection
9 years ago
v2ray 94eab286c0 introduct Connection interface
9 years ago
v2ray 42907ff2e8 Remove v2net.Packet
9 years ago
v2ray 8c2b18cac4 fix again the race condition issue
9 years ago
v2ray 1732d33ba9 fix race condition in stream writing
9 years ago
v2ray 7407c8d561 use stream instead of raw chan
9 years ago
v2ray ff69ac7a0e Release all references
9 years ago
v2ray 6f7fff8173 release all references in tcp hub after it is closed
9 years ago
v2ray dcd96df058 use NetAddr() as hash
9 years ago
v2ray 00fd6861a6 use golang's default dual stack algo when dialling to a domain
9 years ago
v2ray 175d56a10b don't log warning when not accepting anymore.
9 years ago
v2ray 25dfa66822 typos
9 years ago
Darien Raymond b54a265373 increase buffer size in ray
9 years ago
Darien Raymond 0d77139c24 fix udp issue in socks proxy
9 years ago
v2ray 383eb57487 rename CorruptedPacket to ErrorCorruptedPacket
9 years ago
v2ray 1e79a3b75a rename errors
9 years ago
Darien Raymond 008c285324 move transport methods from net to io
9 years ago
v2ray 1f9bd5f692 rename TCPListener to TCPHub
9 years ago
Darien Raymond 4be27a6377 udp hub
9 years ago
Darien Raymond 925c06aeed rename transport/listener to hub
9 years ago
v2ray 8ae8b3c9f5 custom tcp listener and connection object
9 years ago
v2ray 37a9d8ef50 dice.Roll()
9 years ago
Darien Raymond e346f179d2 update my own domain for testing
9 years ago
Darien Raymond cf4d0146fb test case for domain dialing
9 years ago
v2ray 4a8ec6926b dialer
9 years ago
V2Ray 9a88e8696a format code
9 years ago
V2 Ray 9071b3ea10 more comments
9 years ago
V2Ray a03eaa0316 Split directRay from ray.go
9 years ago
V2Ray 890d185979 Cleanup root directory
9 years ago
V2Ray 1d40220d31 Remove error defination
9 years ago