Darien Raymond
|
b7c3e1da66
|
test case for interface
|
2019-02-20 22:57:13 +01:00 |
|
Darien Raymond
|
c5cce8be6f
|
fix server name parsing
|
2019-02-19 13:05:36 +01:00 |
|
Darien Raymond
|
c072d38e2c
|
refine tls connection
|
2019-02-17 00:58:02 +01:00 |
|
Darien Raymond
|
98950d5ada
|
remove dep of assert lib
|
2019-02-10 15:02:28 +01:00 |
|
Darien Raymond
|
932e09a388
|
remove dep of assert lib
|
2019-02-09 15:46:48 +01:00 |
|
Darien Raymond
|
66a60dbfa3
|
remove dep on assert lib
|
2019-02-03 19:46:53 +01:00 |
|
Darien Raymond
|
bdd71a44b4
|
remove dep on assert lib
|
2019-02-02 22:19:30 +01:00 |
|
Darien Raymond
|
1ab94fed79
|
optimize v2ctl size
|
2019-02-01 20:08:21 +01:00 |
|
Darien Raymond
|
3b02c02ab4
|
Revert "move init func to separate files"
This reverts commit 3de50a6412 .
|
2019-02-01 16:56:43 +01:00 |
|
Darien Raymond
|
3de50a6412
|
move init func to separate files
|
2019-02-01 16:21:42 +01:00 |
|
Darien Raymond
|
28189197b3
|
remove dependency of assert lib
|
2019-02-01 14:38:14 +01:00 |
|
Darien Raymond
|
c9958681f7
|
remove dependency on assert lib
|
2019-01-31 20:57:01 +01:00 |
|
SAPikachu
|
033d2264ff
|
Fix SO_MARK setting for UDP outbound connections
|
2019-01-25 15:53:24 +08:00 |
|
Darien Raymond
|
6a0b3af4c6
|
remove multi buffer reading in quic
|
2019-01-20 22:47:54 +01:00 |
|
Darien Raymond
|
aa4ab7fa03
|
return error on listening domain address
|
2019-01-19 10:59:47 +01:00 |
|
Darien Raymond
|
f66b127c0a
|
fix pipe test
|
2019-01-18 21:05:50 +01:00 |
|
Darien Raymond
|
8e131bcd1f
|
remove dependency on assert lib
|
2019-01-18 15:59:39 +01:00 |
|
Darien Raymond
|
0b1496bb7a
|
update dependencies in websocket
|
2019-01-17 15:47:07 +01:00 |
|
Darien Raymond
|
f1934a4ff2
|
move vendor to external
|
2019-01-17 15:33:18 +01:00 |
|
Darien Raymond
|
86f8fe4eb4
|
warning message for global trasnport config
|
2019-01-13 20:15:38 +01:00 |
|
Darien Raymond
|
ee13f7a562
|
fix bind addr check
|
2019-01-12 09:44:51 +01:00 |
|
Darien Raymond
|
ef739c2127
|
listen system only when bind addr not specified
|
2019-01-12 09:12:48 +01:00 |
|
Darien Raymond
|
6146366a4a
|
enforce timeout for http header processing
|
2019-01-10 10:40:51 +01:00 |
|
Darien Raymond
|
163776b182
|
remove dependency on assert lib
|
2019-01-08 23:27:02 +01:00 |
|
Darien Raymond
|
d26700a2fe
|
remove common/compare package
|
2019-01-07 00:12:04 +01:00 |
|
Darien Raymond
|
4468c60b95
|
remove usage on assert lib
|
2019-01-06 23:30:38 +01:00 |
|
Darien Raymond
|
a1b33c3bd6
|
remove unused functions
|
2019-01-06 20:33:58 +01:00 |
|
Darien Raymond
|
a1b552f948
|
use ListenPacket in Dial UDP connection
|
2019-01-06 09:39:37 +01:00 |
|
Darien Raymond
|
b52725cf65
|
DialUDP function
|
2019-01-05 21:43:22 +01:00 |
|
Darien Raymond
|
21f8bfe476
|
move udp packet to protocol
|
2019-01-05 19:49:21 +01:00 |
|
Darien Raymond
|
d20f87da4b
|
comments
|
2019-01-01 20:16:04 +01:00 |
|
Darien Raymond
|
3de8389361
|
rename CloseError() to Interrupt()
|
2018-12-31 21:25:10 +01:00 |
|
Darien Raymond
|
41b1ac192e
|
use compact in tls writer
|
2018-12-27 20:38:24 +01:00 |
|
Darien Raymond
|
88e757e33f
|
merge duplicated code
|
2018-12-27 17:00:34 +01:00 |
|
Darien Raymond
|
fc92b6295a
|
compact buffers
|
2018-12-27 16:36:48 +01:00 |
|
Darien Raymond
|
012a2d6f57
|
fix #1477
|
2018-12-17 20:31:54 +01:00 |
|
Darien Raymond
|
4055c467a1
|
tweak quic server parameters
|
2018-12-11 09:50:36 +01:00 |
|
Darien Raymond
|
f49f85b5bd
|
fix #1462
|
2018-12-06 21:09:41 +01:00 |
|
Darien Raymond
|
50e77cbb19
|
fix broken test
|
2018-12-06 14:44:24 +01:00 |
|
Darien Raymond
|
a6d81cc56d
|
api doc
|
2018-12-03 23:39:21 +01:00 |
|
Darien Raymond
|
28fa84ce69
|
API doc
|
2018-12-03 22:44:42 +01:00 |
|
Darien Raymond
|
05f8de1b8f
|
allow custom controller function
|
2018-12-03 17:41:24 +01:00 |
|
Darien Raymond
|
0f63be6340
|
open ReadBuffer for quic connections
|
2018-12-03 16:01:14 +01:00 |
|
Darien Raymond
|
c5a384195a
|
fix #1451
|
2018-12-02 19:40:43 +01:00 |
|
Darien Raymond
|
057e271588
|
update proto lib
|
2018-12-01 17:39:51 +01:00 |
|
Darien Raymond
|
9379b2f934
|
fix srtp header
|
2018-11-30 17:37:38 +01:00 |
|
Darien Raymond
|
7244dc928e
|
max buffers in one read
|
2018-11-30 14:48:44 +01:00 |
|
Darien Raymond
|
61ad81c326
|
implement ReadMultiBuffer in quic conn
|
2018-11-30 14:41:11 +01:00 |
|
Darien Raymond
|
fd060a0880
|
temp fix deadlock in quic lib
|
2018-11-29 17:17:07 +01:00 |
|
Darien Raymond
|
3b1aaa9a3d
|
update quic parameters
|
2018-11-28 23:14:41 +01:00 |
|
Darien Raymond
|
1d54fd7433
|
update timeout and window size in quic
|
2018-11-27 22:39:54 +01:00 |
|
Darien Raymond
|
90ab42b1cb
|
close connection without error
|
2018-11-27 10:56:07 +01:00 |
|
Darien Raymond
|
f70712a1a3
|
remove warning messages in quic
|
2018-11-26 18:00:41 +01:00 |
|
Darien Raymond
|
45fbf6f059
|
update quic connection handling
|
2018-11-25 21:56:24 +01:00 |
|
Darien Raymond
|
5ecec6afd8
|
reduce concurrency
|
2018-11-24 23:10:04 +01:00 |
|
Darien Raymond
|
4ff26a36ad
|
update quic connection handling
|
2018-11-24 22:18:17 +01:00 |
|
Darien Raymond
|
a1801b5d6f
|
update quic config
|
2018-11-23 23:51:07 +01:00 |
|
Darien Raymond
|
275ab2ae8c
|
fix inactive session removal
|
2018-11-23 20:47:36 +01:00 |
|
Darien Raymond
|
19926b8e4f
|
update quic
|
2018-11-23 17:04:53 +01:00 |
|
Darien Raymond
|
9d17221266
|
fix test last time
|
2018-11-22 17:30:06 +01:00 |
|
Darien Raymond
|
39c84c8dcd
|
fix broken test again
|
2018-11-22 17:19:24 +01:00 |
|
Darien Raymond
|
4b6e12815d
|
fix sockopt test
|
2018-11-22 16:33:32 +01:00 |
|
Darien Raymond
|
fa7ce36aa8
|
update WriteMultiBuffer
|
2018-11-22 13:36:36 +01:00 |
|
Darien Raymond
|
3a1cf06dc1
|
add WriteMultiBuffer for interConn
|
2018-11-22 12:31:11 +01:00 |
|
Darien Raymond
|
010964f272
|
tweak quic parameters
|
2018-11-22 11:57:17 +01:00 |
|
Darien Raymond
|
3335f77c70
|
implement header and auth for quic
|
2018-11-21 22:02:19 +01:00 |
|
Darien Raymond
|
92a6699706
|
fix broken test again
|
2018-11-21 17:15:41 +01:00 |
|
Darien Raymond
|
cfa7ee88ce
|
fix broken test
|
2018-11-21 16:58:37 +01:00 |
|
Darien Raymond
|
096bbd2c51
|
prototype of quic transport
|
2018-11-21 16:47:06 +01:00 |
|
Darien Raymond
|
5279296f03
|
remove use of context.WithValue in transport
|
2018-11-21 14:54:40 +01:00 |
|
Darien Raymond
|
d2d0c69f17
|
benchmark certificate issuing
|
2018-11-21 13:00:26 +01:00 |
|
Darien Raymond
|
120058310a
|
only yield goroutine after second write
|
2018-11-20 10:45:02 +01:00 |
|
Darien Raymond
|
8a82a3664c
|
pick IP family by local address in freedom
|
2018-11-19 21:36:46 +01:00 |
|
Darien Raymond
|
8d8eb0f35a
|
update pipe test
|
2018-11-19 16:29:27 +01:00 |
|
Darien Raymond
|
91227581e5
|
noescape on asm functions
|
2018-11-19 00:33:20 +01:00 |
|
Darien Raymond
|
cb7646f682
|
remove unnecessary err object from SplitBytes
|
2018-11-18 19:44:32 +01:00 |
|
Darien Raymond
|
842a089dad
|
refactor multibuffer
|
2018-11-18 19:36:36 +01:00 |
|
Darien Raymond
|
0f324a613e
|
remove MultiBuffer.Release
|
2018-11-17 22:45:07 +01:00 |
|
Darien Raymond
|
b41513f644
|
benchmark pipe
|
2018-11-17 19:47:30 +01:00 |
|
Darien Raymond
|
27772a75a7
|
refactor MultiBuffer append
|
2018-11-17 09:12:20 +01:00 |
|
Darien Raymond
|
248099eca5
|
switch to bytes.Equal
|
2018-11-16 17:00:16 +01:00 |
|
Darien Raymond
|
48cac1733f
|
remove NewMultiBufferCap
|
2018-11-16 11:29:16 +01:00 |
|
Darien Raymond
|
2364f5f280
|
remove AddressFamily.Either()
|
2018-11-16 11:13:36 +01:00 |
|
Darien Raymond
|
a01fdc29a6
|
remove NewMultiBufferValue
|
2018-11-16 11:08:12 +01:00 |
|
Darien Raymond
|
a20262ef20
|
allocate buffer on stack
|
2018-11-15 21:32:27 +01:00 |
|
Darien Raymond
|
6c7dcc35ab
|
remove buffer.WriteBytes
|
2018-11-14 22:55:20 +01:00 |
|
Darien Raymond
|
e8faa7d4e3
|
move pipe option into dedicated struct
|
2018-11-14 12:31:59 +01:00 |
|
Darien Raymond
|
956868ef78
|
yield goroutine on pipe write
|
2018-11-11 18:58:58 +01:00 |
|
Darien Raymond
|
874fc87498
|
test long header
|
2018-11-07 17:16:57 +01:00 |
|
Darien Raymond
|
128a90b98b
|
move link to transport
|
2018-11-03 12:36:29 +01:00 |
|
Darien Raymond
|
f7b96507f9
|
simplify buffer extension
|
2018-11-02 21:34:04 +01:00 |
|
Darien Raymond
|
35ccc3a49c
|
cleanup unnecessary method in serial.
|
2018-11-02 18:20:02 +01:00 |
|
Darien Raymond
|
815c7f09ba
|
migrate to std lib
|
2018-11-02 15:47:58 +01:00 |
|
Darien Raymond
|
58e2ed3381
|
remove closure on ReadFullFrom
|
2018-11-02 15:01:33 +01:00 |
|
Darien Raymond
|
17e51b277b
|
move proxy.Dialer to internet.Dialer
|
2018-10-22 22:12:50 +02:00 |
|
Darien Raymond
|
e35e3e6e53
|
comment
|
2018-10-14 20:18:09 +02:00 |
|
Darien Raymond
|
99d661882a
|
remove unused constants
|
2018-10-14 12:20:33 +02:00 |
|
Darien Raymond
|
cb8e7dc9a0
|
comments
|
2018-10-14 08:23:49 +02:00 |
|
Darien Raymond
|
98e330513d
|
remove unnecessary interface
|
2018-10-14 08:23:41 +02:00 |
|
Darien Raymond
|
351316490d
|
fix typos
|
2018-10-14 08:02:23 +02:00 |
|
Darien Raymond
|
d730637239
|
Require Type() for Feature
|
2018-10-12 23:57:56 +02:00 |
|
Darien Raymond
|
b4821c5ed5
|
move policy and dnsClient
|
2018-10-11 22:34:31 +02:00 |
|
Darien Raymond
|
b6dc31d3fe
|
first part to move feature interfaces into dedicated directory
|
2018-10-11 20:43:37 +02:00 |
|
Iskander Sharipov
|
0cf3599db2
|
s/len/length/ s/cap/capacity/ to avoid builtin shadowing
|
2018-10-01 12:03:23 +03:00 |
|
Darien Raymond
|
091fa6ad23
|
use new errorgen
|
2018-09-30 23:08:41 +02:00 |
|
Lonnie Liu
|
e43b4cc169
|
fix build breakage
|
2018-09-30 12:51:26 -07:00 |
|
Darien Raymond
|
07aa486d43
|
fix bind address in linux
|
2018-09-30 19:37:08 +02:00 |
|
Darien Raymond
|
d55fbd7f8d
|
simplify error creation
|
2018-09-30 18:39:53 +02:00 |
|
Darien Raymond
|
00ea6e3cb2
|
update protobuf generated files
|
2018-09-30 18:39:28 +02:00 |
|
Darien Raymond
|
909cb9b27a
|
announce deprecated proto settings
|
2018-09-21 16:54:06 +02:00 |
|
Darien Raymond
|
94b880d060
|
move session based info into session package
|
2018-09-18 23:09:54 +02:00 |
|
Darien Raymond
|
cc6590d362
|
Revert "enable sockopt tests"
This reverts commit 2f28d380b3 .
|
2018-09-17 16:27:41 +02:00 |
|
Darien Raymond
|
2f28d380b3
|
enable sockopt tests
|
2018-09-17 15:55:00 +02:00 |
|
Darien Raymond
|
383b84e7dd
|
unified tproxy option
|
2018-09-17 15:12:58 +02:00 |
|
Darien Raymond
|
20251bf499
|
system listener for both TCP and UDP
|
2018-09-15 21:35:32 +02:00 |
|
Darien Raymond
|
47337d6496
|
add udp config
|
2018-09-15 21:33:02 +02:00 |
|
Darien Raymond
|
eeca745e89
|
options for TProxy
|
2018-09-14 11:05:42 +02:00 |
|
Darien Raymond
|
d068f357bd
|
update proto lib
|
2018-09-14 11:00:59 +02:00 |
|
Darien Raymond
|
ed1d713ef4
|
fix a typo
|
2018-09-11 10:18:26 +02:00 |
|
Darien Raymond
|
1e4547e262
|
simplify tcp network detection
|
2018-09-11 10:03:26 +02:00 |
|
Darien Raymond
|
682b28cbda
|
fix tls.AllowInsecureCiphers
|
2018-09-10 23:55:54 +02:00 |
|
Darien Raymond
|
5d9dacc261
|
fix tfo for darwin
|
2018-09-10 21:47:24 +02:00 |
|
Darien Raymond
|
b9e4a4882c
|
test tfo on listener
|
2018-09-10 21:19:59 +02:00 |
|
Darien Raymond
|
c8a12bc35d
|
move sockopt test back to its own file
|
2018-09-10 21:08:59 +02:00 |
|
Darien Raymond
|
929a5d5d42
|
fix sockopt for windows
|
2018-09-10 20:06:58 +02:00 |
|
Darien Raymond
|
b1e900a506
|
fix sockopt tests
|
2018-09-10 19:36:37 +02:00 |
|
Darien Raymond
|
af65048868
|
test case for tfo
|
2018-09-10 14:51:44 +02:00 |
|
Darien Raymond
|
418746fdb0
|
enable tfo on other platforms
|
2018-09-10 14:39:57 +02:00 |
|
Darien Raymond
|
356377ddde
|
change back to IPv4 address
|
2018-09-10 13:58:14 +02:00 |
|
Darien Raymond
|
6d750e8149
|
options for enable TFO
|
2018-09-10 13:23:27 +02:00 |
|
Darien Raymond
|
2ff93c65f3
|
fix build error
|
2018-09-07 15:18:08 +02:00 |
|
Darien Raymond
|
6c4850634b
|
better handling of nil stream settings
|
2018-09-07 15:00:46 +02:00 |
|
Darien Raymond
|
3d3f0a96d6
|
fix nil pointer handling in MemoryStreamConfig conversion.
|
2018-09-07 14:56:42 +02:00 |
|
Darien Raymond
|
b3847fb7c0
|
MemoryStreamSettings
|
2018-09-07 14:50:25 +02:00 |
|
Darien Raymond
|
fbd7bcab07
|
skip test as it requires admin right
|
2018-09-06 10:44:53 +02:00 |
|
Darien Raymond
|
036158570c
|
fix sockopt argument type
|
2018-09-06 10:18:11 +02:00 |
|
Darien Raymond
|
af3a08a848
|
prototype for marking connection
|
2018-09-06 10:06:57 +02:00 |
|
Darien Raymond
|
91109f3657
|
replace channel with pipe in udp conn
|
2018-09-03 00:56:43 +02:00 |
|
Darien Raymond
|
cb378a9dbf
|
release buffer
|
2018-09-01 21:20:06 +02:00 |
|
Darien Raymond
|
334b7bf5ed
|
fix buffer release time
|
2018-08-31 12:35:08 +02:00 |
|
Darien Raymond
|
38dd84ba03
|
release buffer on error
|
2018-08-31 12:12:40 +02:00 |
|
Darien Raymond
|
02ae48095b
|
add wireguard fake header
|
2018-08-27 21:52:25 +02:00 |
|
Darien Raymond
|
20f10c78b3
|
add support for wasm
|
2018-08-27 20:56:49 +02:00 |
|
Darien Raymond
|
fdb3a7b57d
|
remove use of buf.NewSize()
|
2018-08-16 12:05:33 +02:00 |
|
Darien Raymond
|
053fc38d38
|
refine udp hub api
|
2018-08-11 22:35:01 +02:00 |
|
Darien Raymond
|
e7d45d8d63
|
temporarily skip TLS test in ws
|
2018-08-09 16:51:47 +02:00 |
|
Darien Raymond
|
c89531022f
|
fix kcp state wait
|
2018-08-09 13:38:47 +02:00 |
|
Darien Raymond
|
ab87c240f7
|
reduce memory usage in tls
|
2018-08-09 13:30:29 +02:00 |
|
Darien Raymond
|
c81531fc77
|
destroy timer immedietely after use
|
2018-08-09 12:23:27 +02:00 |
|
Darien Raymond
|
b238188770
|
delayed timer creation
|
2018-08-09 12:23:08 +02:00 |
|
Darien Raymond
|
63c7f5e686
|
check payload length before decrypting it. fixes #1227
|
2018-08-08 00:26:01 +02:00 |
|
Darien Raymond
|
b79ec5f1ed
|
use protocol in string form
|
2018-08-06 13:48:35 +02:00 |
|
Darien Raymond
|
206f52affc
|
refine buffer interface
|
2018-07-30 22:45:06 +02:00 |
|
Darien Raymond
|
3b0bfe9422
|
check empty
|
2018-07-29 15:10:06 +02:00 |
|
Darien Raymond
|
47f1399995
|
check errors
|
2018-07-29 13:19:03 +02:00 |
|
Darien Raymond
|
18f3fb5196
|
comment
|
2018-07-29 10:47:50 +02:00 |
|
Darien Raymond
|
1ca3bb9750
|
remove segment pools
|
2018-07-29 03:54:24 +02:00 |
|
Darien Raymond
|
2d4a0f23d5
|
rewrite sending logic
|
2018-07-29 03:54:15 +02:00 |
|
Darien Raymond
|
a3fd81dfff
|
rework multibuf copy
|
2018-07-29 03:38:54 +02:00 |
|
Darien Raymond
|
9ee9af9e02
|
fix mb copy again
|
2018-07-29 03:23:59 +02:00 |
|
Darien Raymond
|
e0a2247a07
|
Revert "temporarily disable asm code"
This reverts commit 6e28b4f91d .
|
2018-07-29 03:15:14 +02:00 |
|
Darien Raymond
|
354ef3c27d
|
fix multibuffer copy
|
2018-07-29 03:13:29 +02:00 |
|
Darien Raymond
|
6e28b4f91d
|
temporarily disable asm code
|
2018-07-28 18:09:34 +02:00 |
|
Darien Raymond
|
ebea255c74
|
eliminate partial writes
|
2018-07-28 15:03:40 +02:00 |
|
Darien Raymond
|
4b63638dca
|
update protobuf lib
|
2018-07-25 00:36:28 +02:00 |
|
Darien Raymond
|
896db7c50c
|
offer an option to disable session resumption
|
2018-07-24 15:12:09 +02:00 |
|
Darien Raymond
|
e3cc12995f
|
fix some lint errors
|
2018-07-19 13:31:57 +02:00 |
|
Darien Raymond
|
14dc6371d3
|
receive handshake address from tls conn
|
2018-07-14 13:58:24 +02:00 |
|
Darien Raymond
|
9a9b6f9077
|
fix concurrent access to tls config
|
2018-07-14 00:21:58 +02:00 |
|
Darien Raymond
|
ffe18d94e4
|
update websocket reference
|
2018-07-13 12:17:52 +02:00 |
|
Darien Raymond
|
29ad2cbbdb
|
function to compare byte array
|
2018-07-12 23:38:10 +02:00 |
|
Darien Raymond
|
f8e6927581
|
pool for data and ack segments
|
2018-07-08 23:03:00 +02:00 |
|
Darien Raymond
|
bd4752a6ab
|
fix total inflight size
|
2018-07-08 22:08:26 +02:00 |
|
Darien Raymond
|
a8b0660df0
|
redo kcp.SendingWindow
|
2018-07-08 21:08:17 +02:00 |
|
Darien Raymond
|
bbeae5be48
|
redo kcp.ReceivingWindow
|
2018-07-08 12:24:37 +02:00 |
|
Darien Raymond
|
255090c5c0
|
fix dispatcher test
|
2018-07-03 21:53:36 +02:00 |
|
Darien Raymond
|
e3cc852c57
|
udp dispatcher takes context with dispatching requests. fixes #1182.
|
2018-07-03 21:38:02 +02:00 |
|
Darien Raymond
|
6315217572
|
fix receiving window size
|
2018-07-02 15:30:23 +02:00 |
|
Darien Raymond
|
b05597df3a
|
fix passive connection in mux. fix #1167
|
2018-06-27 12:21:22 +02:00 |
|
Darien Raymond
|
ff0ae91b9b
|
update protobuf generated files
|
2018-06-26 16:28:54 +02:00 |
|
Darien Raymond
|
9977eadf8c
|
remove dependency from errors to session
|
2018-06-25 01:09:02 +02:00 |
|
Darien Raymond
|
5f93eee8b0
|
fixes #1142
|
2018-06-09 04:47:37 +02:00 |
|
Darien Raymond
|
adade2bffd
|
fix lint warnings
|
2018-05-31 11:55:11 +02:00 |
|
Darien Raymond
|
9321210bcf
|
settings for allowing insecure cipher suites.
|
2018-05-27 18:52:08 +02:00 |
|
Darien Raymond
|
0e27fac290
|
fix race condition
|
2018-05-27 15:06:17 +02:00 |
|
Darien Raymond
|
ac6a0f7511
|
update activity timer
|
2018-05-27 14:42:53 +02:00 |
|
Darien Raymond
|
67f5292f38
|
fix lint errors
|
2018-05-25 23:20:24 +02:00 |
|
Darien Raymond
|
5b4eef5c7b
|
fix dtls header
|
2018-05-25 20:58:16 +02:00 |
|
Darien Raymond
|
956c4f5bcf
|
update dtls.length logic
|
2018-05-25 19:34:32 +02:00 |
|
Darien Raymond
|
f9277958a5
|
DTLS header for MKCP
|
2018-05-25 17:16:15 +02:00 |
|
Darien Raymond
|
65bd8509d7
|
fix buffer policy settings
|
2018-05-25 13:12:00 +02:00 |
|
Darien Raymond
|
b24e808a8a
|
fix pipe related tests
|
2018-05-25 12:50:33 +02:00 |
|
Darien Raymond
|
213f827406
|
policy for internal buffer size
|
2018-05-25 12:08:28 +02:00 |
|
Darien Raymond
|
68da956fc4
|
re-generate code
|
2018-05-25 11:56:01 +02:00 |
|
Darien Raymond
|
0301222e22
|
fix default value for size = 0
|
2018-05-09 08:10:30 +02:00 |
|
Darien Raymond
|
70b2b22047
|
fix #1087
|
2018-05-08 17:40:16 +02:00 |
|
Darien Raymond
|
892828630e
|
testcase for 0 limit
|
2018-05-08 17:27:01 +02:00 |
|
Darien Raymond
|
f9c794c795
|
fix lint errors
|
2018-04-23 16:42:37 +02:00 |
|
Darien Raymond
|
a0dc8d19fa
|
don't error if pipe is already closed.
|
2018-04-23 16:26:29 +02:00 |
|
Darien Raymond
|
f1f4a796cf
|
Set correct remote addr for h2 request. Fixes #1068.
|
2018-04-21 11:00:40 +02:00 |
|
Darien Raymond
|
148a7d064d
|
simplify buf.BufferedReader
|
2018-04-21 00:54:53 +02:00 |
|
Darien Raymond
|
c9e711374f
|
use websocket from vendor
|
2018-04-20 22:45:44 +02:00 |
|
Darien Raymond
|
d7aeb51904
|
merge http.Connection into net.Connection
|
2018-04-20 21:30:58 +02:00 |
|
Darien Raymond
|
a7103481d5
|
force http2 server to send back plain encoding.
|
2018-04-20 16:10:32 +02:00 |
|
Darien Raymond
|
3997d13b97
|
rename Slice and Slice from to Resize and Advance
|
2018-04-19 23:48:38 +02:00 |
|
Darien Raymond
|
1425fd2ba9
|
remove Buffer.Append method
|
2018-04-19 22:56:55 +02:00 |
|
Darien Raymond
|
2e6985a98b
|
more test cases for pipe
|
2018-04-18 15:40:43 +02:00 |
|
Darien Raymond
|
845606d86c
|
fix data race in pipe
|
2018-04-18 15:11:03 +02:00 |
|
Darien Raymond
|
10d7ed2e83
|
fix expired cert check
|
2018-04-18 11:45:49 +02:00 |
|
Darien Raymond
|
a657ec49a0
|
comments
|
2018-04-17 23:33:39 +02:00 |
|
Darien Raymond
|
b4ff4c7e75
|
signal when read
|
2018-04-17 00:45:38 +02:00 |
|
Darien Raymond
|
5d23604713
|
rewrite ray -> pipe
|
2018-04-17 00:31:10 +02:00 |
|
Darien Raymond
|
64ebba3cff
|
implement transport.pipe
|
2018-04-16 14:57:13 +02:00 |
|
Darien Raymond
|
d6dc88860b
|
simplify done api
|
2018-04-15 20:40:47 +02:00 |
|
Darien Raymond
|
9d8922f523
|
close http2 server immediately. fixes #1051
|
2018-04-14 23:07:47 +02:00 |
|
Darien Raymond
|
da0568d8d0
|
refine cert generation
|
2018-04-14 13:28:57 +02:00 |
|
Darien Raymond
|
abee8bddf3
|
only try issuing new certificate when user provide custom CA
|
2018-04-14 13:12:50 +02:00 |
|
Darien Raymond
|
ccafce3c9b
|
disable system roots for windows
|
2018-04-13 10:01:10 +02:00 |
|
Darien Raymond
|
2f74a5d048
|
disable domain socket for windows
|
2018-04-12 17:44:23 +02:00 |
|
Darien Raymond
|
c76d492c0f
|
stats counter for inbound traffic
|
2018-04-12 00:10:14 +02:00 |
|
Darien Raymond
|
044c641d7b
|
test case for tls certs
|
2018-04-10 23:02:47 +02:00 |
|
Darien Raymond
|
318a36fe58
|
automatic issuing certificates from provided CA
|
2018-04-10 12:42:02 +02:00 |
|
Darien Raymond
|
b7fc1f0bd6
|
scenario test for domain socket
|
2018-04-09 20:45:23 +02:00 |
|
Darien Raymond
|
38de82a5d3
|
don't release locker in abstract mode
|
2018-04-09 17:18:48 +02:00 |
|
Darien Raymond
|
a320196b77
|
refine domain socket transport
|
2018-04-09 17:09:24 +02:00 |
|
Xiaokang Wang
|
00016e0517
|
Add comment
|
2018-04-06 20:29:08 +08:00 |
|
Shelikhoo
|
8e1507ae3a
|
Prevent unuseful test failure
|
2018-04-05 19:27:33 +08:00 |
|
Shelikhoo
|
c542c043f3
|
Merge branch 'master' of github.com:v2ray/v2ray-core into domainsocket
|
2018-04-05 19:11:33 +08:00 |
|
Shelikhoo
|
4e609c9758
|
Added Test for dial
|
2018-04-05 16:17:17 +08:00 |
|
Shelikhoo
|
d08929a687
|
finish up dial
|
2018-04-05 15:25:39 +08:00 |
|
Darien Raymond
|
9f198d7e3d
|
fix lint errors
|
2018-04-04 00:29:30 +02:00 |
|
DarienRaymond
|
8bc20c8656
|
Merge pull request #1013 from wuxiangzhou2010/master
add nil check and correct some comments
|
2018-04-03 11:52:58 +02:00 |
|
wuxiang
|
3f19d09878
|
update some comments
|
2018-04-03 17:11:54 +08:00 |
|
Darien Raymond
|
4c2edeb18a
|
fix test break
|
2018-04-02 22:17:06 +02:00 |
|
Darien Raymond
|
009d58dd6c
|
remove static bytes array
|
2018-04-02 22:12:51 +02:00 |
|
Darien Raymond
|
81a147e540
|
Merge branch 'master' of https://github.com/v2ray/v2ray-core
|
2018-04-02 20:01:05 +02:00 |
|
Darien Raymond
|
08dab81eb2
|
migrate int to int32
|
2018-04-02 20:00:50 +02:00 |
|
wuxiangzhou2010
|
f0862df9a7
|
fix typo
|
2018-04-02 16:12:35 +08:00 |
|
wuxiangzhou2010
|
5a08411ee2
|
fix typo
|
2018-04-02 15:52:16 +08:00 |
|
Darien Raymond
|
50c4e3389c
|
remove unnecessary test
|
2018-04-01 09:51:44 +02:00 |
|
Darien Raymond
|
6d98bc4607
|
split uplink and downlink traffic
|
2018-03-31 20:30:49 +02:00 |
|
Darien Raymond
|
f7dd7e6279
|
support stats counter in ray stream
|
2018-03-30 23:17:28 +02:00 |
|
Shelikhoo
|
b67cd22b78
|
Test and bug fix
|
2018-03-29 12:35:02 +08:00 |
|
Darien Raymond
|
3ff570a050
|
write listen error to log
|
2018-03-21 23:38:49 +01:00 |
|
Darien Raymond
|
169b901c2d
|
lazy init of dialer map
|
2018-03-21 23:28:28 +01:00 |
|
Darien Raymond
|
e647292b9a
|
protect against writing to closed body
|
2018-03-21 12:53:57 +01:00 |
|
Shelikhoo
|
09bf78a089
|
notify progressTraffic to quit
|
2018-03-18 22:13:17 +08:00 |
|
Shelikhoo
|
3b1f0ae300
|
finish transport listener
|
2018-03-18 21:46:50 +08:00 |
|
Shelikhoo
|
8e5063dedf
|
(Sync Commit)
|
2018-03-16 12:35:12 +08:00 |
|
Darien Raymond
|
d1898b995f
|
remove unnecessary NewSize
|
2018-03-11 23:45:24 +01:00 |
|
Darien Raymond
|
994aecd13c
|
rename NewLocal to NewSize
|
2018-03-11 23:29:17 +01:00 |
|
Jinqiu Yu
|
87dd1ed877
|
Fix receivced, InboundBound, tranport, Enpoint typo
|
2018-03-11 15:25:59 +08:00 |
|
Shelikhoo
|
43abfc9463
|
Unix listeners(sync commit)
|
2018-03-11 13:44:21 +08:00 |
|
Darien Raymond
|
f17b865982
|
gofmt
|
2018-03-08 21:07:01 +01:00 |
|
DarienRaymond
|
ff1e386a04
|
Merge pull request #931 from wuxiangzhou2010/master
fix typo
|
2018-03-07 13:05:20 +01:00 |
|
Jinqiu Yu
|
794dfd5bf3
|
Dedup protocol registration
|
2018-03-06 15:24:52 +08:00 |
|
Ubuntu
|
7b28be596d
|
fix typo
|
2018-03-02 08:26:14 +00:00 |
|
Darien Raymond
|
e5d3783ed7
|
consume config in dialer and hub
|
2018-03-01 14:22:33 +01:00 |
|
Darien Raymond
|
d207d953bd
|
h2 transport
|
2018-03-01 13:16:52 +01:00 |
|
Darien Raymond
|
bdab1af29a
|
update tls config generation
|
2018-02-28 15:15:22 +01:00 |
|
Darien Raymond
|
58e79dbdc5
|
refactor kcp.ReadSegment
|
2018-02-25 23:00:04 +01:00 |
|
Darien Raymond
|
4783b8f2c6
|
stop doing anything after being released. fixes #804
|
2018-02-25 22:13:42 +01:00 |
|
Darien Raymond
|
caa52e9327
|
early release buffers for better reusing
|
2018-02-25 00:02:31 +01:00 |
|
Darien Raymond
|
1e0cad50b1
|
buffered input in kcp client
|
2018-02-24 23:23:10 +01:00 |
|
Darien Raymond
|
6b872c266c
|
session id
|
2018-02-22 15:26:00 +01:00 |
|
Darien Raymond
|
f1231822f7
|
fix error handling in ray
|
2018-02-19 17:50:36 +01:00 |
|
Darien Raymond
|
ae395bbe1f
|
increase udp hub capacity
|
2018-02-12 15:08:20 +01:00 |
|
Darien Raymond
|
7391b2439e
|
simplify udp hub
|
2018-02-12 13:14:11 +01:00 |
|
Darien Raymond
|
d801be71ea
|
comments
|
2018-02-12 11:53:41 +01:00 |
|
Darien Raymond
|
94e930175a
|
update log
|
2018-02-12 11:52:57 +01:00 |
|
Shelikhoo
|
91f32cc8c4
|
Auto Gen
|
2018-02-12 14:47:23 +08:00 |
|
Shelikhoo
|
7f34cbdaff
|
Add Generated Files
|
2018-02-12 14:17:14 +08:00 |
|
Shelikhoo
|
b9dddd0586
|
Added Dialer stub
|
2018-02-12 14:09:12 +08:00 |
|
Shelikhoo
|
8fe53261cc
|
Added function Stub
|
2018-02-12 14:09:12 +08:00 |
|
Shelikhoo
|
a6612a2baa
|
Regenerate Pb
|
2018-02-12 14:09:12 +08:00 |
|
Shelikhoo
|
5a7c49f3bd
|
Added Generated error helper
|
2018-02-12 14:09:12 +08:00 |
|
Shelikhoo
|
fdfa49dd1b
|
modify golang package name
|
2018-02-12 14:09:12 +08:00 |
|
Shelikhoo
|
c3cdd908b7
|
fix and generate protobuf
|
2018-02-12 14:09:12 +08:00 |
|
Shelikhoo
|
d845b4c3db
|
Created listener file
|
2018-02-12 14:09:12 +08:00 |
|
Shelikhoo
|
71c3e81a7e
|
Rebase: Add domainsocket receiver config
|
2018-02-12 14:07:16 +08:00 |
|
Shelikhoo
|
d065e722a1
|
Added Additional Debug output and error message for #854
|
2018-02-12 11:55:39 +08:00 |
|
Darien Raymond
|
ae52e325a2
|
send ack more frequently too
|
2018-02-11 02:08:20 +01:00 |
|
Darien Raymond
|
0a6a9547a0
|
fix kcp for not sending data immediately
|
2018-02-11 02:06:43 +01:00 |
|
Darien Raymond
|
278fd7261e
|
remove context in udp hub
|
2018-02-08 22:09:41 +01:00 |
|
Darien Raymond
|
acc6ea3e6b
|
fix websocket test
|
2018-02-08 16:39:18 +01:00 |
|
Darien Raymond
|
9fdb783729
|
fix kcp test
|
2018-02-08 16:22:44 +01:00 |
|
Darien Raymond
|
efcb567273
|
remove context in struct
|
2018-02-08 15:39:46 +01:00 |
|
Darien Raymond
|
3a0f211c22
|
gofmt
|
2018-02-05 23:39:04 +01:00 |
|
Darien Raymond
|
1e6d5561cc
|
prototype of commander
|
2018-02-05 23:38:24 +01:00 |
|
Darien Raymond
|
630a76d06a
|
kcp cleanup
|
2018-01-17 17:36:14 +01:00 |
|
Darien Raymond
|
a6c0ef11ba
|
check connection state for every write operation
|
2018-01-17 16:18:38 +01:00 |
|
Darien Raymond
|
7fab28cf0b
|
fix build break
|
2018-01-10 17:33:15 +01:00 |
|
Darien Raymond
|
efc8c23207
|
support dial for v2ray instance
|
2018-01-10 17:31:52 +01:00 |
|
Darien Raymond
|
ec54b04537
|
fix test break
|
2018-01-10 13:07:56 +01:00 |
|
Darien Raymond
|
292d7cc353
|
massive refactoring for interoperability
|
2018-01-10 12:22:37 +01:00 |
|
Darien Raymond
|
c5d356545e
|
comments for typed messages
|
2018-01-04 11:24:17 +01:00 |
|
Darien Raymond
|
9ccdf67d2d
|
fix lint warnings
|
2018-01-02 18:57:22 +01:00 |
|
Darien Raymond
|
30f27706e0
|
Use 'h2' for ALPN in TCP
|
2018-01-02 18:16:36 +01:00 |
|
Darien Raymond
|
9b15e2f6f7
|
more informational logs
|
2017-12-27 21:39:14 +01:00 |
|
Darien Raymond
|
8a09c6c926
|
migrate to signal.Semaphore and Notifier
|
2017-12-27 21:33:42 +01:00 |
|
Darien Raymond
|
f4c35db968
|
merge log into common log
|
2017-12-19 21:28:12 +01:00 |
|
Darien Raymond
|
054ceb865d
|
avoid port in-use error in websocket test
|
2017-12-19 13:37:37 +01:00 |
|
Darien Raymond
|
91ca88bcff
|
read original addr from x-forwarded-for header if present
|
2017-12-18 20:34:00 +01:00 |
|
Darien Raymond
|
3cc6d8f653
|
fix a data race in KCP
|
2017-12-17 01:22:39 +01:00 |
|
Darien Raymond
|
048ffbc7dc
|
simplify tls config
|
2017-12-17 00:53:17 +01:00 |
|
Darien Raymond
|
9561301fea
|
update headers test cases
|
2017-12-16 23:31:05 +01:00 |
|
Darien Raymond
|
80e43a6b37
|
reduce websocket memory usage
|
2017-12-16 02:04:51 +01:00 |
|
Darien Raymond
|
4fad49fef8
|
fix build break
|
2017-12-14 23:43:28 +01:00 |
|
Darien Raymond
|
2acef1cc07
|
cleanup kcp connection
|
2017-12-14 23:24:40 +01:00 |
|
Darien Raymond
|
0032760fdc
|
cleanup kcp connection
|
2017-12-14 23:02:10 +01:00 |
|
Darien Raymond
|
19a0d21cb6
|
fix kcp write
|
2017-12-05 18:04:34 +01:00 |
|
Darien Raymond
|
13ed4b8429
|
update http header test
|
2017-12-03 23:41:01 +01:00 |
|
Darien Raymond
|
7709ee9b7f
|
more interface test
|
2017-12-03 23:11:29 +01:00 |
|
Darien Raymond
|
b3e6994e52
|
implement WriteMultiBuffer
|
2017-12-03 22:53:00 +01:00 |
|
Darien Raymond
|
be714f76f1
|
cleanup
|
2017-12-03 21:45:58 +01:00 |
|
Darien Raymond
|
bf7b8798a9
|
simplify kcp interface
|
2017-12-03 21:29:27 +01:00 |
|
Darien Raymond
|
e8e7921613
|
fix lint warnings
|
2017-12-03 16:40:10 +01:00 |
|
Darien Raymond
|
443fd7c9a5
|
2k buffer should be enough
|
2017-12-03 16:39:51 +01:00 |
|
Darien Raymond
|
85a93e9602
|
cleanup kcp
|
2017-12-03 14:56:00 +01:00 |
|
Darien Raymond
|
d43a23aa96
|
move error generator to common
|
2017-12-03 01:04:57 +01:00 |
|
Darien Raymond
|
9ff0dc7327
|
remove struct scoped context
|
2017-12-01 10:36:08 +01:00 |
|
Darien Raymond
|
2371617a22
|
fix lint warnings
|
2017-11-23 23:46:46 +01:00 |
|
IbarakiKasen
|
c0564cd747
|
Fix typo, fix #715
|
2017-11-19 13:46:31 +08:00 |
|
Darien Raymond
|
51ddc00c70
|
reduce buffer size in websocket
|
2017-11-16 18:11:02 +01:00 |
|
Darien Raymond
|
0dbfb66126
|
clean up dns package
|
2017-11-15 00:36:14 +01:00 |
|
Darien Raymond
|
594ec15c09
|
cleanup buffer usage
|
2017-11-09 22:33:15 +01:00 |
|
Darien Raymond
|
66b82e4ab7
|
cleanup MultiBuffer
|
2017-11-09 00:55:28 +01:00 |
|
Darien Raymond
|
d5fd7efa7e
|
fast read on first packet
|
2017-11-08 22:23:21 +01:00 |
|
Darien Raymond
|
ac5ab67862
|
refactor
|
2017-10-28 21:28:50 +02:00 |
|
Darien Raymond
|
6c9a60100d
|
format code
|
2017-10-26 21:44:22 +02:00 |
|
Darien Raymond
|
12a0d6e0b9
|
cleanup
|
2017-10-26 21:07:33 +02:00 |
|
DarienRaymond
|
1a8ed61b9b
|
Merge pull request #651 from v2ray/udpfollow
Added UDP TPROXY Transmit Support
|
2017-10-26 20:59:04 +02:00 |
|
Darien Raymond
|
af88016320
|
fix #643
|
2017-10-26 11:43:02 +02:00 |
|
Darien Raymond
|
36ce56c524
|
refactor
|
2017-10-24 20:25:45 +02:00 |
|
Darien Raymond
|
3f54bf3f53
|
remove unused definitions
|
2017-10-24 20:23:55 +02:00 |
|
Darien Raymond
|
e4fd29db70
|
fix test break
|
2017-10-24 17:36:42 +02:00 |
|
Darien Raymond
|
74cf833758
|
fully migrate to new assertion lib
|
2017-10-24 16:15:35 +02:00 |
|
Darien Raymond
|
94bba49674
|
fix lint warnings
|
2017-10-23 14:15:16 +02:00 |
|
Darien Raymond
|
62258e6aef
|
fix #638
|
2017-10-23 14:09:14 +02:00 |
|
Darien Raymond
|
9f7fbd9a04
|
fix websocket test
|
2017-10-22 16:04:39 +02:00 |
|
Darien Raymond
|
6dd23b45b0
|
fix lint warnings for websocket
|
2017-10-21 09:45:27 +02:00 |
|
Darien Raymond
|
2a04819582
|
fix data race in kcp connection
|
2017-10-20 23:30:14 +02:00 |
|
Darien Raymond
|
5ae8bfbda1
|
fix data race in ray
|
2017-10-20 23:23:29 +02:00 |
|
Darien Raymond
|
60f3562ac1
|
simplify websocket dialer and hub
|
2017-10-20 22:45:14 +02:00 |
|
Darien Raymond
|
669a0cafaf
|
support header override in websocket
|
2017-10-13 23:54:04 +08:00 |
|
Darien Raymond
|
b862365832
|
include detailed error
|
2017-09-29 18:10:17 +02:00 |
|
Darien Raymond
|
8971e699d9
|
common.Must2
|
2017-09-19 23:27:49 +02:00 |
|
Shelikhoo
|
8e846fe6f8
|
Added UDP TPROXY Transmit Support
|
2017-09-07 06:55:15 +08:00 |
|
Darien Raymond
|
fbbed156db
|
fix lint warnings
|
2017-08-29 14:50:53 +02:00 |
|
Darien Raymond
|
52ad41cda3
|
completely move away from net package
|
2017-08-29 14:32:54 +02:00 |
|