Skip to content

Commit 7cc3347

Browse files
committed
add CI testcases for http1.1 masque connect-udp
1 parent ab7e567 commit 7cc3347

3 files changed

Lines changed: 19 additions & 9 deletions

File tree

scripts/coverage/vey-proxy/0006_chain_http_proxy/main.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,14 @@ server:
8080
private-key: ../vey-proxy.local-key.pem
8181
tls_client:
8282
ca_certificate: ../rootCA.pem
83-
- name: socks
83+
- name: socks1
8484
type: socks_proxy
8585
listen: 127.0.0.1:1080
8686
escaper: chained_http
87+
- name: socks2
88+
type: socks_proxy
89+
listen: 127.0.0.1:1081
90+
escaper: chained_https
8791
- name: http
8892
type: http_proxy
8993
listen: 127.0.0.1:8080

scripts/coverage/vey-proxy/0006_chain_http_proxy/testcases.sh

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,15 @@ test_https_proxy_https_connect
115115
test_https_proxy_https_forward
116116

117117

118-
SOCKS5_PROXY="socks5h://127.0.0.1:1080"
119-
test_socks5_proxy_http
120-
test_socks5_proxy_https
121-
122-
123-
SOCKS4_PROXY="socks4a://127.0.0.1:1080"
124-
test_socks4_proxy_http
125-
test_socks4_proxy_https
118+
for port in 1080 1081
119+
do
120+
SOCKS5_PROXY="socks5h://127.0.0.1:${port}"
121+
test_socks5_proxy_http
122+
test_socks5_proxy_https
123+
test_socks5_proxy_dns
124+
125+
126+
SOCKS4_PROXY="socks4a://127.0.0.1:${port}"
127+
test_socks4_proxy_http
128+
test_socks4_proxy_https
129+
done

scripts/coverage/vey-proxy/0011_escaper_proxy_float/testcases.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ for port in 1080 1081
1212
do
1313
SOCKS5_PROXY="socks5h://127.0.0.1:${port}"
1414
test_socks5_proxy_http
15+
test_socks5_proxy_dns
1516

1617

1718
SOCKS4_PROXY="socks4a://127.0.0.1:${port}"
@@ -30,6 +31,7 @@ for port in 1080 1081
3031
do
3132
SOCKS5_PROXY="socks5h://127.0.0.1:${port}"
3233
test_socks5_proxy_http
34+
test_socks5_proxy_dns
3335

3436

3537
SOCKS4_PROXY="socks4a://127.0.0.1:${port}"

0 commit comments

Comments
 (0)