Commit Graph

1020 Commits (9997567bd469843f3ca21551fe646af946ea442a)

Author SHA1 Message Date
Darien Raymond 7244dc928e
max buffers in one read
6 years ago
Darien Raymond 61ad81c326
implement ReadMultiBuffer in quic conn
6 years ago
Darien Raymond fd060a0880
temp fix deadlock in quic lib
6 years ago
Darien Raymond 3b1aaa9a3d
update quic parameters
6 years ago
Darien Raymond 1d54fd7433
update timeout and window size in quic
6 years ago
Darien Raymond 90ab42b1cb
close connection without error
6 years ago
Darien Raymond f70712a1a3
remove warning messages in quic
6 years ago
Darien Raymond 45fbf6f059
update quic connection handling
6 years ago
Darien Raymond 5ecec6afd8
reduce concurrency
6 years ago
Darien Raymond 4ff26a36ad
update quic connection handling
6 years ago
Darien Raymond a1801b5d6f
update quic config
6 years ago
Darien Raymond 275ab2ae8c
fix inactive session removal
6 years ago
Darien Raymond 19926b8e4f
update quic
6 years ago
Darien Raymond 9d17221266
fix test last time
6 years ago
Darien Raymond 39c84c8dcd
fix broken test again
6 years ago
Darien Raymond 4b6e12815d
fix sockopt test
6 years ago
Darien Raymond fa7ce36aa8
update WriteMultiBuffer
6 years ago
Darien Raymond 3a1cf06dc1
add WriteMultiBuffer for interConn
6 years ago
Darien Raymond 010964f272
tweak quic parameters
6 years ago
Darien Raymond 3335f77c70
implement header and auth for quic
6 years ago
Darien Raymond 92a6699706
fix broken test again
6 years ago
Darien Raymond cfa7ee88ce
fix broken test
6 years ago
Darien Raymond 096bbd2c51
prototype of quic transport
6 years ago
Darien Raymond 5279296f03
remove use of context.WithValue in transport
6 years ago
Darien Raymond d2d0c69f17
benchmark certificate issuing
6 years ago
Darien Raymond 120058310a
only yield goroutine after second write
6 years ago
Darien Raymond 8a82a3664c
pick IP family by local address in freedom
6 years ago
Darien Raymond 8d8eb0f35a
update pipe test
6 years ago
Darien Raymond 91227581e5
noescape on asm functions
6 years ago
Darien Raymond cb7646f682
remove unnecessary err object from SplitBytes
6 years ago
Darien Raymond 842a089dad
refactor multibuffer
6 years ago
Darien Raymond 0f324a613e
remove MultiBuffer.Release
6 years ago
Darien Raymond b41513f644
benchmark pipe
6 years ago
Darien Raymond 27772a75a7
refactor MultiBuffer append
6 years ago
Darien Raymond 248099eca5
switch to bytes.Equal
6 years ago
Darien Raymond 48cac1733f
remove NewMultiBufferCap
6 years ago
Darien Raymond 2364f5f280
remove AddressFamily.Either()
6 years ago
Darien Raymond a01fdc29a6
remove NewMultiBufferValue
6 years ago
Darien Raymond a20262ef20
allocate buffer on stack
6 years ago
Darien Raymond 6c7dcc35ab
remove buffer.WriteBytes
6 years ago
Darien Raymond e8faa7d4e3
move pipe option into dedicated struct
6 years ago
Darien Raymond 956868ef78
yield goroutine on pipe write
6 years ago
Darien Raymond 874fc87498
test long header
6 years ago
Darien Raymond 128a90b98b
move link to transport
6 years ago
Darien Raymond f7b96507f9
simplify buffer extension
6 years ago
Darien Raymond 35ccc3a49c
cleanup unnecessary method in serial.
6 years ago
Darien Raymond 815c7f09ba
migrate to std lib
6 years ago
Darien Raymond 58e2ed3381
remove closure on ReadFullFrom
6 years ago
Darien Raymond 17e51b277b
move proxy.Dialer to internet.Dialer
6 years ago
Darien Raymond e35e3e6e53
comment
6 years ago
Darien Raymond 99d661882a
remove unused constants
6 years ago
Darien Raymond cb8e7dc9a0
comments
6 years ago
Darien Raymond 98e330513d
remove unnecessary interface
6 years ago
Darien Raymond 351316490d
fix typos
6 years ago
Darien Raymond d730637239
Require Type() for Feature
6 years ago
Darien Raymond b4821c5ed5
move policy and dnsClient
6 years ago
Darien Raymond b6dc31d3fe
first part to move feature interfaces into dedicated directory
6 years ago
Iskander Sharipov 0cf3599db2 s/len/length/ s/cap/capacity/ to avoid builtin shadowing
6 years ago
Darien Raymond 091fa6ad23
use new errorgen
6 years ago
Lonnie Liu e43b4cc169 fix build breakage
6 years ago
Darien Raymond 07aa486d43
fix bind address in linux
6 years ago
Darien Raymond d55fbd7f8d
simplify error creation
6 years ago
Darien Raymond 00ea6e3cb2
update protobuf generated files
6 years ago
Darien Raymond 909cb9b27a
announce deprecated proto settings
6 years ago
Darien Raymond 94b880d060
move session based info into session package
6 years ago
Darien Raymond cc6590d362
Revert "enable sockopt tests"
6 years ago
Darien Raymond 2f28d380b3
enable sockopt tests
6 years ago
Darien Raymond 383b84e7dd
unified tproxy option
6 years ago
Darien Raymond 20251bf499
system listener for both TCP and UDP
6 years ago
Darien Raymond 47337d6496
add udp config
6 years ago
Darien Raymond eeca745e89
options for TProxy
6 years ago
Darien Raymond d068f357bd
update proto lib
6 years ago
Darien Raymond ed1d713ef4
fix a typo
6 years ago
Darien Raymond 1e4547e262
simplify tcp network detection
6 years ago
Darien Raymond 682b28cbda
fix tls.AllowInsecureCiphers
6 years ago
Darien Raymond 5d9dacc261
fix tfo for darwin
6 years ago
Darien Raymond b9e4a4882c
test tfo on listener
6 years ago
Darien Raymond c8a12bc35d
move sockopt test back to its own file
6 years ago
Darien Raymond 929a5d5d42
fix sockopt for windows
6 years ago
Darien Raymond b1e900a506
fix sockopt tests
6 years ago
Darien Raymond af65048868
test case for tfo
6 years ago
Darien Raymond 418746fdb0
enable tfo on other platforms
6 years ago
Darien Raymond 356377ddde
change back to IPv4 address
6 years ago
Darien Raymond 6d750e8149
options for enable TFO
6 years ago
Darien Raymond 2ff93c65f3
fix build error
6 years ago
Darien Raymond 6c4850634b
better handling of nil stream settings
6 years ago
Darien Raymond 3d3f0a96d6
fix nil pointer handling in MemoryStreamConfig conversion.
6 years ago
Darien Raymond b3847fb7c0
MemoryStreamSettings
6 years ago
Darien Raymond fbd7bcab07
skip test as it requires admin right
6 years ago
Darien Raymond 036158570c
fix sockopt argument type
6 years ago
Darien Raymond af3a08a848
prototype for marking connection
6 years ago
Darien Raymond 91109f3657
replace channel with pipe in udp conn
6 years ago
Darien Raymond cb378a9dbf
release buffer
6 years ago
Darien Raymond 334b7bf5ed
fix buffer release time
6 years ago
Darien Raymond 38dd84ba03
release buffer on error
6 years ago
Darien Raymond 02ae48095b
add wireguard fake header
6 years ago
Darien Raymond 20f10c78b3
add support for wasm
6 years ago
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 c81531fc77
destroy timer immedietely after use
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
7 years ago
Darien Raymond b05597df3a
fix passive connection in mux. fix #1167
7 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 5f93eee8b0
fixes #1142
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 65bd8509d7
fix buffer policy settings
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 0301222e22
fix default value for size = 0
7 years ago
Darien Raymond 70b2b22047
fix #1087
7 years ago