mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 02:02:24 +00:00
Enhancements
Fix TLS settings missing when parsing Clash configurations. Add support for adding route settings to Shadowsocks Android subscriptions. Add serve_cache_on_fetch_fail option to determine whether to serve cached content when failed to download a file. Optimize codes.
This commit is contained in:
9 files changed
+294
-161
No files matched your search
@@ -964,9 +964,10 @@ void explodeClash(Node yamlnode, const std::string &custom_port, int local_port,
|
||||
|
||||
singleproxy["username"] >> user;
|
||||
singleproxy["password"] >> password;
|
||||
singleproxy["tls"] >> tls;
|
||||
|
||||
node.linkType = SPEEDTEST_MESSAGE_FOUNDHTTP;
|
||||
node.proxyStr = httpConstruct(ps, server, port, user, password);
|
||||
node.proxyStr = httpConstruct(ps, server, port, user, password, tls == "true");
|
||||
break;
|
||||
case "trojan"_hash:
|
||||
group = TROJAN_DEFAULT_GROUP;
|
||||
|
||||
Reference in new issue
Block a user