Implement SIP004

https://github.com/shadowsocks/shadowsocks-org/issues/30
This commit is contained in:
Mygod
2017-02-08 11:58:15 +08:00
committed by Max Lv
parent b71b27fbdf
commit 1e96a13ab1
10 changed files with 27 additions and 29 deletions
@@ -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