1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-17 09:56:18 -05:00
Commit Graph

934 Commits

Author SHA1 Message Date
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