Commit Graph

733 Commits (ab7930c09ba093d6316ebe94d0a387976770d5f6)

Author SHA1 Message Date
Darien Raymond fdb3a7b57d
remove use of buf.NewSize()
6 years ago
Darien Raymond 053fc38d38
refine udp hub api
6 years ago
Darien Raymond e7d45d8d63
temporarily skip TLS test in ws
6 years ago
Darien Raymond c89531022f
fix kcp state wait
6 years ago
Darien Raymond ab87c240f7
reduce memory usage in tls
6 years ago
Darien Raymond b238188770
delayed timer creation
6 years ago
Darien Raymond 63c7f5e686
check payload length before decrypting it. fixes #1227
6 years ago
Darien Raymond b79ec5f1ed
use protocol in string form
6 years ago
Darien Raymond 206f52affc
refine buffer interface
6 years ago
Darien Raymond 3b0bfe9422
check empty
6 years ago
Darien Raymond 47f1399995
check errors
6 years ago
Darien Raymond 18f3fb5196
comment
6 years ago
Darien Raymond 1ca3bb9750
remove segment pools
6 years ago
Darien Raymond 2d4a0f23d5
rewrite sending logic
6 years ago
Darien Raymond a3fd81dfff
rework multibuf copy
6 years ago
Darien Raymond 9ee9af9e02
fix mb copy again
6 years ago
Darien Raymond e0a2247a07
Revert "temporarily disable asm code"
6 years ago
Darien Raymond 354ef3c27d
fix multibuffer copy
6 years ago
Darien Raymond 6e28b4f91d
temporarily disable asm code
6 years ago
Darien Raymond ebea255c74
eliminate partial writes
6 years ago
Darien Raymond 4b63638dca
update protobuf lib
6 years ago
Darien Raymond 896db7c50c
offer an option to disable session resumption
6 years ago
Darien Raymond e3cc12995f
fix some lint errors
6 years ago
Darien Raymond 14dc6371d3
receive handshake address from tls conn
6 years ago
Darien Raymond 9a9b6f9077
fix concurrent access to tls config
6 years ago
Darien Raymond ffe18d94e4
update websocket reference
6 years ago
Darien Raymond 29ad2cbbdb
function to compare byte array
6 years ago
Darien Raymond f8e6927581
pool for data and ack segments
6 years ago
Darien Raymond bd4752a6ab
fix total inflight size
6 years ago
Darien Raymond a8b0660df0
redo kcp.SendingWindow
6 years ago
Darien Raymond bbeae5be48
redo kcp.ReceivingWindow
6 years ago
Darien Raymond 255090c5c0
fix dispatcher test
6 years ago
Darien Raymond e3cc852c57
udp dispatcher takes context with dispatching requests. fixes #1182.
6 years ago
Darien Raymond 6315217572
fix receiving window size
6 years ago
Darien Raymond ff0ae91b9b
update protobuf generated files
7 years ago
Darien Raymond 9977eadf8c
remove dependency from errors to session
7 years ago
Darien Raymond adade2bffd
fix lint warnings
7 years ago
Darien Raymond 9321210bcf
settings for allowing insecure cipher suites.
7 years ago
Darien Raymond 0e27fac290
fix race condition
7 years ago
Darien Raymond ac6a0f7511
update activity timer
7 years ago
Darien Raymond 67f5292f38
fix lint errors
7 years ago
Darien Raymond 5b4eef5c7b
fix dtls header
7 years ago
Darien Raymond 956c4f5bcf
update dtls.length logic
7 years ago
Darien Raymond f9277958a5
DTLS header for MKCP
7 years ago
Darien Raymond b24e808a8a
fix pipe related tests
7 years ago
Darien Raymond 213f827406
policy for internal buffer size
7 years ago
Darien Raymond 68da956fc4
re-generate code
7 years ago
Darien Raymond f1f4a796cf
Set correct remote addr for h2 request. Fixes #1068.
7 years ago
Darien Raymond 148a7d064d
simplify buf.BufferedReader
7 years ago
Darien Raymond c9e711374f
use websocket from vendor
7 years ago
Darien Raymond d7aeb51904
merge http.Connection into net.Connection
7 years ago
Darien Raymond a7103481d5
force http2 server to send back plain encoding.
7 years ago
Darien Raymond 3997d13b97
rename Slice and Slice from to Resize and Advance
7 years ago
Darien Raymond 1425fd2ba9
remove Buffer.Append method
7 years ago
Darien Raymond 10d7ed2e83
fix expired cert check
7 years ago
Darien Raymond a657ec49a0
comments
7 years ago
Darien Raymond 5d23604713
rewrite ray -> pipe
7 years ago
Darien Raymond 64ebba3cff
implement transport.pipe
7 years ago
Darien Raymond d6dc88860b
simplify done api
7 years ago
Darien Raymond 9d8922f523
close http2 server immediately. fixes #1051
7 years ago
Darien Raymond da0568d8d0
refine cert generation
7 years ago
Darien Raymond abee8bddf3
only try issuing new certificate when user provide custom CA
7 years ago
Darien Raymond ccafce3c9b
disable system roots for windows
7 years ago
Darien Raymond 2f74a5d048
disable domain socket for windows
7 years ago
Darien Raymond c76d492c0f
stats counter for inbound traffic
7 years ago
Darien Raymond 044c641d7b
test case for tls certs
7 years ago
Darien Raymond 318a36fe58
automatic issuing certificates from provided CA
7 years ago
Darien Raymond b7fc1f0bd6
scenario test for domain socket
7 years ago
Darien Raymond 38de82a5d3
don't release locker in abstract mode
7 years ago
Darien Raymond a320196b77
refine domain socket transport
7 years ago
Xiaokang Wang 00016e0517
Add comment
7 years ago
Shelikhoo 8e1507ae3a
Prevent unuseful test failure
7 years ago
Shelikhoo c542c043f3
Merge branch 'master' of github.com:v2ray/v2ray-core into domainsocket
7 years ago
Shelikhoo 4e609c9758
Added Test for dial
7 years ago
Shelikhoo d08929a687
finish up dial
7 years ago
Darien Raymond 4c2edeb18a
fix test break
7 years ago
Darien Raymond 009d58dd6c
remove static bytes array
7 years ago
Darien Raymond 81a147e540
Merge branch 'master' of https://github.com/v2ray/v2ray-core
7 years ago
Darien Raymond 08dab81eb2
migrate int to int32
7 years ago
wuxiangzhou2010 f0862df9a7 fix typo
7 years ago
wuxiangzhou2010 5a08411ee2 fix typo
7 years ago
Darien Raymond f7dd7e6279
support stats counter in ray stream
7 years ago
Shelikhoo b67cd22b78
Test and bug fix
7 years ago
Darien Raymond 3ff570a050
write listen error to log
7 years ago
Darien Raymond 169b901c2d
lazy init of dialer map
7 years ago
Darien Raymond e647292b9a
protect against writing to closed body
7 years ago
Shelikhoo 09bf78a089
notify progressTraffic to quit
7 years ago
Shelikhoo 3b1f0ae300
finish transport listener
7 years ago
Shelikhoo 8e5063dedf
(Sync Commit)
7 years ago
Darien Raymond d1898b995f
remove unnecessary NewSize
7 years ago
Darien Raymond 994aecd13c
rename NewLocal to NewSize
7 years ago
Shelikhoo 43abfc9463
Unix listeners(sync commit)
7 years ago
Darien Raymond f17b865982
gofmt
7 years ago
DarienRaymond ff1e386a04
Merge pull request #931 from wuxiangzhou2010/master
7 years ago
Jinqiu Yu 794dfd5bf3 Dedup protocol registration
7 years ago
Ubuntu 7b28be596d fix typo
7 years ago
Darien Raymond e5d3783ed7
consume config in dialer and hub
7 years ago
Darien Raymond d207d953bd
h2 transport
7 years ago
Darien Raymond bdab1af29a
update tls config generation
7 years ago
Darien Raymond 58e79dbdc5
refactor kcp.ReadSegment
7 years ago