1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-19 18:36:10 -04:00
Commit Graph

31 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
52d414fa49
integrate ioutil migration in test
Some inconsistent change have been introduced in a previous version of ioutil migration(0c3105691f).
2021-09-29 09:25:23 +01:00
Shelikhoo
0c3105691f
refactor: move from io/ioutil to io and os package (#1298)
Author: Eng Zer Jun <engzerjun@gmail.com>
Date:   Mon Sep 27 00:56:31 2021 +0800

    refactor: move from io/ioutil to io and os package (#1298)
2021-09-27 23:02:19 +01:00
Shelikhoo
ba2dd5995d
replace TypedMessage with anypb.Any 2021-09-04 11:13:28 +01:00
Loyalsoldier
f94dd11a8c
Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
Loyalsoldier
b68f943c78
Fix lint according to golangci-lint (#439) 2020-11-22 05:05:01 +08:00
Darien Raymond
0f805ef81d
fix blackhole test for windows 2019-02-07 19:29:32 +01: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
28189197b3
remove dependency of assert lib 2019-02-01 14:38:14 +01:00
Darien Raymond
df2d5b5d75
fix broken tests 2018-11-08 01:01:53 +01:00
Darien Raymond
af29e42771
move tcp.PickPort to its own package 2018-03-01 11:53:39 +01:00
Darien Raymond
87ef3b0a8f
test case for dial 2018-02-21 00:18:53 +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
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
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
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
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
267025fe66
proxy over kcp 2017-01-12 12:59:57 +01:00
Darien Raymond
5013d387a5
migrate router test to proto 2017-01-11 00:09:33 +01:00
Darien Raymond
8df8fad293
test case for proxy and blackhole 2017-01-10 14:25:31 +01:00
Darien Raymond
961b4bbb22
cleanup socks test 2017-01-08 22:32:41 +01:00