mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-07-23 11:58:02 +00:00
feat: userpass auth
This commit is contained in:
@@ -89,6 +89,14 @@ func TestClientConfigURI(t *testing.T) {
|
||||
Auth: "god",
|
||||
},
|
||||
},
|
||||
{
|
||||
uri: "hysteria2://john:wick@continental.org/",
|
||||
uriOK: true,
|
||||
config: &clientConfig{
|
||||
Server: "continental.org",
|
||||
Auth: "john:wick",
|
||||
},
|
||||
},
|
||||
{
|
||||
uri: "hysteria2://noauth.com/?insecure=1&obfs=salamander&obfs-password=66ccff&sni=crap.cc",
|
||||
uriOK: true,
|
||||
|
Reference in New Issue
Block a user