feat: userpass auth

This commit is contained in:
Toby
2023-08-06 12:11:46 -07:00
parent 601ad6b61c
commit 7307eea2a8
8 changed files with 241 additions and 3 deletions

View File

@@ -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,