1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-15 16:56:08 -05:00
Commit Graph

453 Commits

Author SHA1 Message Date
Darien Raymond
c7f847c96e
categorize read and write error 2018-10-24 12:02:02 +02:00
Darien Raymond
9e66f315e6
update mocks 2018-10-23 22:41:27 +02:00
Darien Raymond
5fc606ce9d
relocate mocks 2018-10-23 22:27:45 +02:00
Darien Raymond
0c6fc2b946
more test cases 2018-10-23 22:27:18 +02:00
Darien Raymond
4481cc36db
update coverage script 2018-10-22 21:16:50 +02:00
Darien Raymond
d730637239
Require Type() for Feature 2018-10-12 23:57:56 +02:00
Felix Yan
67ee589e92
Use h12.io/socks instead of vendored old one 2018-10-06 07:34:07 +08:00
Darien Raymond
20251bf499
system listener for both TCP and UDP 2018-09-15 21:35:32 +02:00
Darien Raymond
156af4241d
add some logs 2018-09-10 22:12:07 +02:00
Darien Raymond
b9e4a4882c
test tfo on listener 2018-09-10 21:19:59 +02:00
Darien Raymond
c1585e6066
test readv on windows 2018-09-10 20:16:54 +02:00
Darien Raymond
7bc45eb8aa
update commander test 2018-08-25 15:59:35 +02:00
Darien Raymond
fdb3a7b57d
remove use of buf.NewSize() 2018-08-16 12:05:33 +02:00
Darien Raymond
55a4c8a464
multiple tls conns 2018-08-09 23:02:31 +02:00
Darien Raymond
e64b800149
temporary skip tls test on arm64 2018-08-09 16:30:05 +02:00
Darien Raymond
8c08ca52eb
refine vmess test 2018-07-31 16:16:52 +02:00
Darien Raymond
73a1111083
fix error reporting 2018-07-31 16:05:44 +02:00
Darien Raymond
b3cf1f70d7
optimize readv reader 2018-07-31 13:04:55 +02:00
Darien Raymond
8c7fcad414
Revert "enable race detector for scenario test"
This reverts commit 180c269c79.
2018-07-29 01:53:20 +02:00
Darien Raymond
180c269c79
enable race detector for scenario test 2018-07-28 20:01:23 +02:00
Darien Raymond
8070e7d1e2
skip domain socket test on windows 2018-07-28 18:16:19 +02:00
Darien Raymond
a9593bab49
refine kcp large test 2018-07-28 16:57:42 +02:00
Darien Raymond
95b24584bf
refine kcp test 2018-07-28 16:49:03 +02:00
Darien Raymond
e4176d7048
fix more tests 2018-07-28 15:43:53 +02:00
Darien Raymond
8e79e0b0f2
fix TestCommanderStats 2018-07-28 15:33:47 +02:00
Darien Raymond
4c798584ff
try another way to kill process on windows 2018-07-27 12:41:48 +02:00
Darien Raymond
35762b7b28
change to sigterm 2018-07-27 12:31:22 +02:00
Darien Raymond
a941ef5392
try readv 2018-07-24 21:48:28 +02:00
Darien Raymond
9a8488074e
env flag controlled global padding 2018-07-18 10:40:28 +02:00
Darien Raymond
29ad2cbbdb
function to compare byte array 2018-07-12 23:38:10 +02:00
Darien Raymond
2b0196527d
fix coverall script 2018-07-03 21:48:35 +02:00
Darien Raymond
e3cc852c57
udp dispatcher takes context with dispatching requests. fixes #1182. 2018-07-03 21:38:02 +02:00
Darien Raymond
2a07ead0dc
test case for large kcp transfer 2018-07-02 23:45:26 +02:00
Darien Raymond
bc78e63877
close pipe when finish 2018-07-02 15:40:32 +02:00
Darien Raymond
c4491d06d3
fix tcp testing server 2018-07-02 15:26:42 +02:00
Darien Raymond
e4254bbde9
extend kcp timeout settings 2018-05-27 15:19:09 +02:00
Darien Raymond
65bd8509d7
fix buffer policy settings 2018-05-25 13:12:00 +02:00
Darien Raymond
213f827406
policy for internal buffer size 2018-05-25 12:08:28 +02:00
Darien Raymond
2f3670f60b
fix http error test 2018-04-18 23:57:28 +02:00
Darien Raymond
0ad4f99762
test case for http proxy error 2018-04-18 22:41:47 +02:00
Darien Raymond
a06078ecb3
fix test 2018-04-12 00:28:20 +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
a320196b77
refine domain socket transport 2018-04-09 17:09:24 +02:00
DarienRaymond
61d9b04ca5
Merge pull request #1019 from v2ray/domainsocket
Implemented Primitive Domain Socket Support described in https://github.com/v2ray/Planning/issues/25
2018-04-09 12:42:42 +02:00
Darien Raymond
84a05e7cd9
remove shadowsocks conformance test 2018-04-05 21:57:35 +02:00
Shelikhoo
c542c043f3
Merge branch 'master' of github.com:v2ray/v2ray-core into domainsocket 2018-04-05 19:11:33 +08:00
Shelikhoo
12012cd4df
Testing and fixs 2018-04-05 19:06:54 +08:00
Darien Raymond
074dfbb78c
add network list to shadowsocks server 2018-04-03 17:51:01 +02:00
Darien Raymond
08dab81eb2
migrate int to int32 2018-04-02 20:00:50 +02:00
Darien Raymond
6d98bc4607
split uplink and downlink traffic 2018-03-31 20:30:49 +02:00
Darien Raymond
0975e26ed1
command handler for stats 2018-03-31 10:30:12 +02:00
Darien Raymond
1179ecef27
block until rpc connection is ready 2018-03-08 23:40:02 +01:00
Darien Raymond
2c854057f7
test case for mux over shadowsocks 2018-03-07 22:47:18 +01:00
Darien Raymond
2e7944a9eb
concurrent connection in h2 2018-03-01 21:42:42 +01:00
Darien Raymond
20be8aab61
test case for h2 transport 2018-03-01 21:22:53 +01:00
Darien Raymond
d207d953bd
h2 transport 2018-03-01 13:16:52 +01:00
Darien Raymond
af29e42771
move tcp.PickPort to its own package 2018-03-01 11:53:39 +01:00
Darien Raymond
7e6b45ace4
format 2018-02-22 10:34:14 +01:00
Darien Raymond
87ef3b0a8f
test case for dial 2018-02-21 00:18:53 +01:00
Darien Raymond
655fb40b3f
remove json tag 2018-02-20 23:03:29 +01:00
Darien Raymond
c25a76a0cf
integration test case for policy 2018-02-20 13:53:07 +01:00
Darien Raymond
e49d49bb9d
test case for adding and removing user by command 2018-02-19 16:52:51 +01:00
Darien Raymond
95be224caf
fix coverage test 2018-02-16 15:29:22 +01:00
Darien Raymond
07ca87990d
update coverall script 2018-02-16 15:17:09 +01:00
Darien Raymond
c05dade00a
fix commander test 2018-02-08 23:33:40 +01:00
Darien Raymond
efcb567273
remove context in struct 2018-02-08 15:39:46 +01:00
Darien Raymond
deaee9fa65
test case for removing handler on the fly 2018-02-06 13:47:50 +01:00
Darien Raymond
01c76d70da
listen on localhost only 2018-02-06 12:22:46 +01:00
Darien Raymond
292d7cc353
massive refactoring for interoperability 2018-01-10 12:22:37 +01:00
Darien Raymond
7d11286d80
fix test 2017-12-19 23:54:21 +01:00
Darien Raymond
9e50a8daa6
fix test 2017-12-19 22:29:56 +01:00
Darien Raymond
f4c35db968
merge log into common log 2017-12-19 21:28:12 +01:00
sunshineplan
8ec1a98040
update http connect test 2017-12-03 10:45:26 +08:00
Darien Raymond
b0b65cb3fa
chacha20 confermance test 2017-11-30 20:59:12 +01:00
Darien Raymond
fefb5c8e01
fix aead udp 2017-11-26 21:51:30 +01:00
Darien Raymond
9ec3e40cee
more aead test cases 2017-11-26 16:56:09 +01:00
Darien Raymond
e8901368d7
update http connect test 2017-11-26 15:15:03 +01:00
Darien Raymond
9a2a19509c
more time for vmess none 2017-11-26 14:18:48 +01:00
Darien Raymond
c51251bbdb
fix broken test 2017-11-20 11:27:41 +01:00
Darien Raymond
b859bdf684
test case for http post and connect 2017-11-17 16:53:00 +01:00
Darien Raymond
a430e2065a
move port allocation to udp package 2017-11-14 23:45:07 +01:00
Darien Raymond
6e61538b36
close http server properly 2017-11-09 01:06:40 +01:00
Darien Raymond
f5d76c8eb0
fix lint warnings 2017-11-07 14:40:51 +01:00
Darien Raymond
100391fdb7 fix http basic auth. fix #659 2017-10-28 14:25:22 +02:00
Darien Raymond
6c9a60100d format code 2017-10-26 21:44:22 +02:00
Darien Raymond
1d3c8098e9 basic auth in http server 2017-10-26 21:44:13 +02:00
Darien Raymond
522ac2a2e9 remove old assertion lib 2017-10-24 17:17:10 +02:00
Darien Raymond
74cf833758 fully migrate to new assertion lib 2017-10-24 16:15:35 +02:00
Darien Raymond
afe190316d fail fast 2017-10-20 23:54:07 +02:00
Darien Raymond
1c29d1535c fix data race in tcp server 2017-10-20 23:36:14 +02:00
Darien Raymond
85a544d671 avoid unnecessary data race error in test cases 2017-10-20 23:30:36 +02:00
Darien Raymond
52ad41cda3 completely move away from net package 2017-08-29 14:32:54 +02:00
Darien Raymond
1c856a46ab step 1 to remove reference to net package 2017-08-29 12:56:57 +02:00
Darien Raymond
ade88fd5c7
reuse buffered writer in auth writer 2017-05-24 00:54:30 +02:00
Darien Raymond
087a91c46c
refactor test 2017-05-18 00:39:30 +02:00
Darien Raymond
1f1a5a78f0
cleanup 2017-05-04 13:17:07 +02:00
Darien Raymond
976395b4d6
cleanup 2017-05-03 11:33:42 +02:00
Darien Raymond
5b15d9aa92
cleanup 2017-05-03 11:14:05 +02:00
Darien Raymond
552aba4cee
reduce memory usage in test 2017-05-03 11:12:26 +02:00
Darien Raymond
0210a718f6
fix mux test 2017-05-03 10:53:35 +02:00
Darien Raymond
d5f931ae8b
fix udp handling in dokodemo and mux 2017-05-02 23:36:37 +02:00
Darien Raymond
d5ef224ac0
test case for mux udp 2017-05-02 22:56:19 +02:00
Darien Raymond
53f99ddde6
cleanup 2017-05-02 22:50:27 +02:00
Darien Raymond
74830b2583
test case for shadowsocks udp 2017-05-02 22:29:02 +02:00
Darien Raymond
96da76c5b0
test case for vmess udp 2017-05-02 00:39:10 +02:00
Darien Raymond
693702350d
refactor 2017-04-28 14:48:23 +02:00
Darien Raymond
7f1e9c85c9
more effecient auth reader and writer 2017-04-27 13:31:09 +02:00
Darien Raymond
fb3d2ca862
read content of the http response 2017-04-25 13:34:00 +02:00
Darien Raymond
00dd7d5cd2
test case for sni proxy 2017-04-25 01:40:34 +02:00
Darien Raymond
77521029b1
support for http and tls header sniffing 2017-04-25 00:19:22 +02:00
Darien Raymond
67dbb86b0e
cleanup 2017-04-21 13:26:54 +02:00
Darien Raymond
48de0180bf
more time for testing 2017-04-16 21:31:33 +02:00
Darien Raymond
6515cf12e5
log err on tcp test server 2017-04-16 21:31:28 +02:00
Darien Raymond
c55f737dd0
kill server faster 2017-04-16 20:55:48 +02:00
Darien Raymond
4f4ced6b02
fix vmess test 2017-04-12 12:06:36 +02:00
Darien Raymond
f2f1ad8d6b
fix test break 2017-04-11 16:58:51 +02:00
Darien Raymond
35248497d2
refactor error messages 2017-04-09 01:43:25 +02:00
Darien Raymond
ade8453c0a
completely remove connection reuse feature 2017-04-07 21:54:40 +02:00
Darien Raymond
75f5cb9afb
refactor log and error 2017-04-06 21:13:17 +02:00
Darien Raymond
619c7b9e39
update mux test case 2017-04-04 11:08:06 +02:00
Darien Raymond
27009786e9
output error 2017-04-04 00:17:29 +02:00
Darien Raymond
a49816ae46
more complicated mux test 2017-04-03 23:43:45 +02:00
Darien Raymond
16e4b5bda5
update test 2017-04-03 15:01:49 +02:00
Darien Raymond
dd01937b2f
test case for mux 2017-04-03 15:00:14 +02:00
Darien Raymond
73c4696e00
mux io 2017-04-02 09:48:30 +02:00
Darien Raymond
4b15ff5034
allow more time 2017-03-31 20:56:30 +02:00
Darien Raymond
00822812d4
more time 2017-03-31 17:24:39 +02:00
Darien Raymond
e128f4de42
remove unused code 2017-03-31 17:12:33 +02:00
Darien Raymond
fbd035247f
translate all remaining scenario tests into new format 2017-03-31 17:06:16 +02:00
Darien Raymond
fc1b37d809
test case for TLS over websocket 2017-02-08 17:57:21 +01:00
Darien Raymond
d2968e08ea
suspend ipv6 test 2017-02-08 00:45:29 +01:00
Darien Raymond
2a486c6b9e
ipv6 test 2017-02-08 00:26:40 +01:00
Darien Raymond
a0f2dabe5c
fix kcp test 2017-02-07 23:33:21 +01:00
Darien Raymond
d2538839af
fix byte assertion 2017-02-07 23:33:02 +01:00
Darien Raymond
14bbb58b12
fix bytes assertion 2017-02-06 23:25:52 +01:00
Darien Raymond
d27743b3b9
rewrite vmess test 2017-02-06 15:36:55 +01:00
Darien Raymond
f046f334cd
move common/log to app/log 2017-02-01 21:35:40 +01:00
Darien Raymond
ebf15aa6bb
fix test cases 2017-01-29 09:02:19 +01:00
Darien Raymond
e9600f0aa5
Fix test break 2017-01-28 23:35:02 +01:00
Darien Raymond
8231d2cdad
dns test 2017-01-27 21:19:46 +01:00
Darien Raymond
866a4d879c
fix udp handling 2017-01-27 14:10:36 +01:00
Darien Raymond
9462f710a5
able to redirect to another destination in freedom 2017-01-26 23:05:24 +01:00
Darien Raymond
ca721230e1
split listening settings from inbound proxies and apply context 2017-01-26 20:46:44 +01:00
Darien Raymond
9be43f4bf3
fix socks auth test 2017-01-17 10:22:30 +01:00
Darien Raymond
6eff0acc0b
rename transportsettings to transportconfig 2017-01-16 14:18:33 +01:00
Darien Raymond
d6f8528075
better port picker 2017-01-16 14:18:13 +01:00
Darien Raymond
8b00d6fc30
clean imports 2017-01-14 00:27:45 +01:00