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 |
|