Implement SIP004
https://github.com/shadowsocks/shadowsocks-org/issues/30
This commit is contained in:
@@ -141,7 +141,6 @@ object Key {
|
||||
val proxyApps = "isProxyApps"
|
||||
val bypass = "isBypassApps"
|
||||
val udpdns = "isUdpDns"
|
||||
val auth = "isAuth"
|
||||
val ipv6 = "isIpv6"
|
||||
|
||||
val host = "proxy"
|
||||
|
||||
@@ -36,7 +36,6 @@ object Parser {
|
||||
case Some(ss) =>
|
||||
val profile = new Profile
|
||||
profile.method = ss.group(2).toLowerCase
|
||||
if (ss.group(3) != null) profile.auth = true
|
||||
profile.password = ss.group(4)
|
||||
profile.host = ss.group(5)
|
||||
profile.remotePort = ss.group(6).toInt
|
||||
|
||||
Reference in New Issue
Block a user