mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-09 05:49:54 +00:00
增强: HTTP/SOCKS5混合端口
This commit is contained in:
parent
02fa2cde0a
commit
de7d7dc51e
@ -53,6 +53,13 @@ func TestClientConfig(t *testing.T) {
|
|||||||
},
|
},
|
||||||
FastOpen: true,
|
FastOpen: true,
|
||||||
Lazy: true,
|
Lazy: true,
|
||||||
|
Mixed: &mixedConfig{
|
||||||
|
Listen: "127.0.0.1:1080",
|
||||||
|
Username: "anon",
|
||||||
|
Password: "bro",
|
||||||
|
DisableUDP: true,
|
||||||
|
Realm: "martian",
|
||||||
|
},
|
||||||
SOCKS5: &socks5Config{
|
SOCKS5: &socks5Config{
|
||||||
Listen: "127.0.0.1:1080",
|
Listen: "127.0.0.1:1080",
|
||||||
Username: "anon",
|
Username: "anon",
|
||||||
|
@ -35,6 +35,13 @@ fastOpen: true
|
|||||||
|
|
||||||
lazy: true
|
lazy: true
|
||||||
|
|
||||||
|
mixed:
|
||||||
|
listen: 127.0.0.1:1080
|
||||||
|
username: anon
|
||||||
|
password: bro
|
||||||
|
disableUDP: true
|
||||||
|
realm: martian
|
||||||
|
|
||||||
socks5:
|
socks5:
|
||||||
listen: 127.0.0.1:1080
|
listen: 127.0.0.1:1080
|
||||||
username: anon
|
username: anon
|
||||||
|
Loading…
x
Reference in New Issue
Block a user