1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-10-01 00:06:11 -04:00
Commit Graph

59 Commits

Author SHA1 Message Date
yuhan6665
d84ead3e00
Fix some tests to use udp.PickPort()
(cherry picked from commit 9458a1abd3, modified by committer)

In the previous version of the test code, when attempting to listen for a UDP socket, the port availability check check for TCP port instead of UDP port. This make it possible to select a UDP port that is unavailable.

See Also: https://github.com/v2fly/v2ray-core/pull/1302
2021-09-30 15:27:27 +01:00
Shelikhoo
b3fb85804d
fix CI test issue 2021-09-04 11:13:31 +01:00
Shelikhoo
ba2dd5995d
replace TypedMessage with anypb.Any 2021-09-04 11:13:28 +01:00
Shelikhoo
73ee3b0b1c
Added test for no terminate signal 2021-06-22 12:26:13 +01:00
Shelikhoo
0822160008
VMess AEAD based packet length 2021-06-22 12:26:01 +01:00
Shelikhoo
77bddcceb7
Test for Imaginary Security Level: zero 2021-03-01 16:13:59 +00:00
Loyalsoldier
f94dd11a8c
Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
loyalsoldier
1fa89b32d4
Format: run go fmt ./... 2020-08-30 21:17:22 +08:00
Shelikhoo
4448d37c2b
Merge branch 'master' of github.com:v2ray/v2ray-core 2019-12-26 19:34:48 +08:00
vcptr
2a78af34fd fix: KCPLarge buffer size too small 2019-11-27 14:40:28 +08:00
Shelikhoo
8cf38342e9
Delay Closing Connection so that test have chance to complete(Additional) 2019-06-07 12:05:06 +08:00
Shelikhoo
dd8e957f59
Delay Closing Connection so that test have chance to complete 2019-06-07 10:01:23 +08:00
Darien Raymond
e0581b6c82
fix broken tests 2019-02-06 12:11:09 +01:00
Darien Raymond
4613008148
fix broken tests 2019-02-06 11:53:33 +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
40796b9f9c
remove dependency on assert lib 2019-01-11 17:17:59 +01:00
Darien Raymond
163776b182
remove dependency on assert lib 2019-01-08 23:27:02 +01:00
Darien Raymond
edd71de1c3
remove dependency on assert lib 2019-01-07 23:27:59 +01:00
Darien Raymond
d26700a2fe
remove common/compare package 2019-01-07 00:12:04 +01:00
Darien Raymond
c1585e6066
test readv on windows 2018-09-10 20:16:54 +02:00
Darien Raymond
8c08ca52eb
refine vmess test 2018-07-31 16:16:52 +02:00
Darien Raymond
b3cf1f70d7
optimize readv reader 2018-07-31 13:04:55 +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
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
2a07ead0dc
test case for large kcp transfer 2018-07-02 23:45:26 +02:00
Darien Raymond
e4254bbde9
extend kcp timeout settings 2018-05-27 15:19:09 +02:00
Darien Raymond
af29e42771
move tcp.PickPort to its own package 2018-03-01 11:53:39 +01:00
Darien Raymond
292d7cc353
massive refactoring for interoperability 2018-01-10 12:22:37 +01:00
Darien Raymond
9e50a8daa6
fix test 2017-12-19 22:29:56 +01:00
Darien Raymond
9a2a19509c
more time for vmess none 2017-11-26 14:18:48 +01:00
Darien Raymond
a430e2065a
move port allocation to udp package 2017-11-14 23:45:07 +01:00
Darien Raymond
f5d76c8eb0
fix lint warnings 2017-11-07 14:40:51 +01:00
Darien Raymond
6c9a60100d format code 2017-10-26 21:44:22 +02:00
Darien Raymond
74cf833758 fully migrate to new assertion lib 2017-10-24 16:15:35 +02:00
Darien Raymond
85a544d671 avoid unnecessary data race error in test cases 2017-10-20 23:30:36 +02:00
Darien Raymond
1c856a46ab step 1 to remove reference to net package 2017-08-29 12:56:57 +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
96da76c5b0
test case for vmess udp 2017-05-02 00:39:10 +02:00
Darien Raymond
48de0180bf
more time for testing 2017-04-16 21:31:33 +02:00