mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-17 22:57:10 +00:00
Socks supports multiple accounts
This commit is contained in:
1 parent
7cce04cc3a
commit
213aa2ecf0
5 files changed
+44
-14
No files matched your search
@@ -84,8 +84,12 @@ func TestSocksTcpConnectWithUserPass(t *testing.T) {
|
||||
ProtocolValue: "socks",
|
||||
SettingsValue: &json.SocksConfig{
|
||||
AuthMethod: "noauth",
|
||||
Username: "userx",
|
||||
Password: "passy",
|
||||
Accounts: []json.SocksAccount{
|
||||
json.SocksAccount{
|
||||
Username: "userx",
|
||||
Password: "passy",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
OutboundConfigValue: &mocks.ConnectionConfig{
|
||||
|
||||
Reference in new issue
Block a user